On 12/23/20 9:27 AM, André Przywara wrote: > On 22/12/2020 23:28, Jaehoon Chung wrote: >> On 12/19/20 11:51 PM, Amit Singh Tomar wrote: >>> From: Amit Singh Tomar <amittome...@gmail.com> >>> >>> This patch adds node for ethernet controller found on Action Semi OWL >>> S700 SoC. >> >> Is "ethernet controller" right? >> >>> >>> Since, upstream Linux binding has not been merged for S700 MMC/SD >>> controller, Changes are put in u-boot specific dtsi file. >>> >>> Signed-off-by: Amit Singh Tomar <amittome...@gmail.com> >>> --- >>> Changes since previous version >>> * No change. >>> --- >>> arch/arm/dts/s700-u-boot.dtsi | 10 ++++++++++ >>> 1 file changed, 10 insertions(+) >>> >>> diff --git a/arch/arm/dts/s700-u-boot.dtsi b/arch/arm/dts/s700-u-boot.dtsi >>> index 1b27682..3c3396b 100644 >>> --- a/arch/arm/dts/s700-u-boot.dtsi >>> +++ b/arch/arm/dts/s700-u-boot.dtsi >>> @@ -19,6 +19,16 @@ >>> status = "okay"; >>> }; >>> >>> + mmc0: mmc@e0210000 { >>> + compatible = "actions,s700-mmc", "actions,owl-mmc"; >> >> Not need to add both.. > > We *do* need to have both: > a) it's good style to list "chip-specific", "generic-compatible-model" > for a certain SoC. This allows to later cover bugs or enhancements > without changing the DT. > b) it's what Linux will get > c) it's already the documented binding: > https://protect2.fireeye.com/v1/url?k=a0d08dfb-ff4bb474-a0d106b4-0cc47a31307c-5ee0007dbb563f30&q=1&e=68c5aa9b-c6c9-4445-b8ee-f428a38234ef&u=https%3A%2F%2Fgit.kernel.org%2Fpub%2Fscm%2Flinux%2Fkernel%2Fgit%2Ftorvalds%2Flinux.git%2Ftree%2FDocumentation%2Fdevicetree%2Fbindings%2Fmmc%2Fowl-mmc.yaml
Thanks for sharing it. Best Regards, Jaehoon Chung > > Cheers, > Andre > >> >>> + reg = <0x0 0xe0210000 0x0 0x4000>; >>> + interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>; >>> + clocks = <&cmu CLK_SD0>; >>> + dmas = <&dma 2>; >>> + dma-names = "mmc"; >>> + bus-width = <4>; >>> + status = "okay"; >>> + }; >>> }; >>> }; >>> >>> >> > >