uart_A is used for the Bluetooth module so with mainline Linux it will
not get a /dev/ttyAMLx character device
For that reason we are not adding an alias for uart_A when a new
board.dts is added
I suggest that you also drop this alias here because it is not visible
to the user ever
Same applies to VIM1 and VIM2 as well
Best regards,
Martin
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
From: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Date: 2021-06-05 09:57:45
Hi Nick,
thank you for this patch!
On Sat, Jun 5, 2021 at 8:24 AM [off-list ref] wrote:
From: Nick Xie <redacted>
Add i2c aliases for Khadas VIM3/3L.
commit ab547c4fb39fe1 ("arm64: dts: amlogic: Assign a fixed index to
mmc devices") added the aliases for the MMC controllers to the
soc.dtsi
I would like to hear your opinion as well as the opinions from other
Amlogic reviewers whether the same makes sense for the I2C controllers
as well
Best regards,
Martin
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
From: Neil Armstrong <hidden> Date: 2021-06-07 07:02:40
Hi Nick,
On 05/06/2021 08:23, xieqinick@gmail.com wrote:
From: Nick Xie <redacted>
This patch series update / add serial and i2c aliases to
keep the same with 4.9 kernel for Khadas VIM boards
(VIM1, VIM2, VIM3 and VIM3L).
Nick Xie (6):
arm64: dts: meson: vim3: add serial aliases
arm64: dts: meson: vim1: update serial aliases
arm64: dts: meson: vim2: update serial aliases
arm64: dts: meson: vim3: add i2c aliases
arm64: dts: meson: vim1: add i2c aliases
arm64: dts: meson: vim2: add i2c aliases
.../boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts | 8 +++++++-
arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts | 7 ++++++-
arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi | 9 +++++++++
3 files changed, 22 insertions(+), 2 deletions(-)
Thanks for these patches.
I'm not sure about the current policy about aliases, but when we started upstreaming the amlogic boards,
only the exposed interfaces could have an alias and in the board.dts file only. But since other vendors
added a bunch of aliases of all the possible i2c/spi/uart/mmc/ethernet interfaces in the SoC dtsi....
But the question of the 40pins header remains, should we add aliases for interfaces present on the 40pin header ?????
Personally, we should'nt since these pins has no defined functions, so any alias should be added by a DT overlay loaded from U-boot.
But it's my own opinion.
Rob ? what's the current policy on that ?
Neil
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel