Re: [PATCH v1 2/3] arm64: dts: freescale: imx8mp-verdin: add labels to som nodes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Frank,

On Tue, Sep 24, 2024 at 11:02:50AM -0400, Frank Li wrote:
> On Tue, Sep 24, 2024 at 01:40:52PM +0200, Francesco Dolcini wrote:
> > From: João Paulo Gonçalves <joao.goncalves@xxxxxxxxxxx>
> >
> > Add labels to ti-ads1015 and fec ethernet mdio node to make it easier to
> > reference them from other nodes.
> >
> > Signed-off-by: João Paulo Gonçalves <joao.goncalves@xxxxxxxxxxx>
> > Signed-off-by: Francesco Dolcini <francesco.dolcini@xxxxxxxxxxx>
> > ---
> >  arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi | 5 +++--
> >  1 file changed, 3 insertions(+), 2 deletions(-)
> >
> > diff --git a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi
> > index a19ad5ee7f79..e9518b7c7aa8 100644
> > --- a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi
> > +++ b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi
> > @@ -320,7 +320,7 @@ &fec {
> >  	pinctrl-0 = <&pinctrl_fec>;
> >  	pinctrl-1 = <&pinctrl_fec_sleep>;
> >
> > -	mdio {
> > +	verdin_eth2_mdio: mdio {
> >  		#address-cells = <1>;
> >  		#size-cells = <0>;
> >
> > @@ -591,11 +591,12 @@ hwmon_temp_module: sensor@48 {
> >  		vs-supply = <&reg_vdd_1v8>;
> >  	};
> >
> > -	adc@49 {
> > +	verdin_som_adc: adc@49 {
> >  		compatible = "ti,ads1015";
> >  		reg = <0x49>;
> >  		#address-cells = <1>;
> >  		#size-cells = <0>;
> > +		#io-channel-cells = <1>;
> 
> Why add this? it is not related with what descript in commit message

The #io-channel-cells property is required to reference the ADC
node as an IIO channel producer in consumer nodes, otherwise, DT check
warnings will occur. I agree that the commit message could be improved,
but I consider this a minor issue. Would it be acceptable to keep it as
is, or would you prefer a v2?

Best Regards,
João Paulo Gonçalves




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux