From mboxrd@z Thu Jan 1 00:00:00 1970 From: khilman@baylibre.com (Kevin Hilman) Date: Fri, 19 May 2017 15:49:12 -0700 Subject: [PATCH 1/2] ARM: dts: meson: organize devices in their corresponding busses In-Reply-To: <20170417213938.22626-2-martin.blumenstingl@googlemail.com> (Martin Blumenstingl's message of "Mon, 17 Apr 2017 23:39:37 +0200") References: <20170417213938.22626-1-martin.blumenstingl@googlemail.com> <20170417213938.22626-2-martin.blumenstingl@googlemail.com> Message-ID: To: linus-amlogic@lists.infradead.org List-Id: linus-amlogic.lists.infradead.org Martin Blumenstingl writes: > The Amlogic Meson SoCs have most of the internal peripherals organized > in busses. Use them to make the dts easier to read and to avoid > duplicated register (bus) offset definitions. > > The bus information is taken from the vendor kernel: > #define IO_CBUS_PHY_BASE 0xc1100000 ///2M > #define IO_AOBUS_PHY_BASE 0xc8100000 ///1M > > There are more internal busses (such as the abp bus which seems to > contain audio, HDMI and Mali registers), but since we don't have > drivers for them yet these are not added (yet). > > Signed-off-by: Martin Blumenstingl I tested this series on my meson8b-odroidc1 and it boots fine. Series looks fine to me, except... [...] > > ethmac: ethernet at c9410000 { > compatible = "amlogic,meson6-dwmac", "snps,dwmac"; > reg = <0xc9410000 0x10000 > - 0xc1108108 0x4>; > + 0xc1108108 0x4>; stray tab removal? I fixed that up locally and applied to v4.13/dt64 branch. Thanks for the patches! Kevin From mboxrd@z Thu Jan 1 00:00:00 1970 From: khilman@baylibre.com (Kevin Hilman) Date: Fri, 19 May 2017 15:49:12 -0700 Subject: [PATCH 1/2] ARM: dts: meson: organize devices in their corresponding busses In-Reply-To: <20170417213938.22626-2-martin.blumenstingl@googlemail.com> (Martin Blumenstingl's message of "Mon, 17 Apr 2017 23:39:37 +0200") References: <20170417213938.22626-1-martin.blumenstingl@googlemail.com> <20170417213938.22626-2-martin.blumenstingl@googlemail.com> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Martin Blumenstingl writes: > The Amlogic Meson SoCs have most of the internal peripherals organized > in busses. Use them to make the dts easier to read and to avoid > duplicated register (bus) offset definitions. > > The bus information is taken from the vendor kernel: > #define IO_CBUS_PHY_BASE 0xc1100000 ///2M > #define IO_AOBUS_PHY_BASE 0xc8100000 ///1M > > There are more internal busses (such as the abp bus which seems to > contain audio, HDMI and Mali registers), but since we don't have > drivers for them yet these are not added (yet). > > Signed-off-by: Martin Blumenstingl I tested this series on my meson8b-odroidc1 and it boots fine. Series looks fine to me, except... [...] > > ethmac: ethernet at c9410000 { > compatible = "amlogic,meson6-dwmac", "snps,dwmac"; > reg = <0xc9410000 0x10000 > - 0xc1108108 0x4>; > + 0xc1108108 0x4>; stray tab removal? I fixed that up locally and applied to v4.13/dt64 branch. Thanks for the patches! Kevin From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Hilman Subject: Re: [PATCH 1/2] ARM: dts: meson: organize devices in their corresponding busses Date: Fri, 19 May 2017 15:49:12 -0700 Message-ID: References: <20170417213938.22626-1-martin.blumenstingl@googlemail.com> <20170417213938.22626-2-martin.blumenstingl@googlemail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <20170417213938.22626-2-martin.blumenstingl-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> (Martin Blumenstingl's message of "Mon, 17 Apr 2017 23:39:37 +0200") Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Martin Blumenstingl Cc: linux-amlogic-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, carlo-KA+7E9HrN00dnm+yROfE0A@public.gmane.org, mark.rutland-5wv7dgnIgG8@public.gmane.org, robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-I+IVW8TIWO2tmTQ+vhA3Yw@public.gmane.org List-Id: devicetree@vger.kernel.org Martin Blumenstingl writes: > The Amlogic Meson SoCs have most of the internal peripherals organized > in busses. Use them to make the dts easier to read and to avoid > duplicated register (bus) offset definitions. > > The bus information is taken from the vendor kernel: > #define IO_CBUS_PHY_BASE 0xc1100000 ///2M > #define IO_AOBUS_PHY_BASE 0xc8100000 ///1M > > There are more internal busses (such as the abp bus which seems to > contain audio, HDMI and Mali registers), but since we don't have > drivers for them yet these are not added (yet). > > Signed-off-by: Martin Blumenstingl I tested this series on my meson8b-odroidc1 and it boots fine. Series looks fine to me, except... [...] > > ethmac: ethernet@c9410000 { > compatible = "amlogic,meson6-dwmac", "snps,dwmac"; > reg = <0xc9410000 0x10000 > - 0xc1108108 0x4>; > + 0xc1108108 0x4>; stray tab removal? I fixed that up locally and applied to v4.13/dt64 branch. Thanks for the patches! Kevin -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html