[PATCH 2/7] arm64: dts: imx8mp-phycore-som: Order properties alphabetically

Teresa Remmet T.Remmet at phytec.de
Tue Jul 18 06:43:55 PDT 2023


Am Dienstag, dem 18.07.2023 um 09:14 +0800 schrieb Shawn Guo:
> > @@ -83,97 +83,97 @@ &i2c1 {
> >         pinctrl-names = "default", "gpio";
> >         pinctrl-0 = <&pinctrl_i2c1>;
> >         pinctrl-1 = <&pinctrl_i2c1_gpio>;
> > -       sda-gpios = <&gpio5 15 (GPIO_ACTIVE_HIGH |
> > GPIO_OPEN_DRAIN)>;
> >         scl-gpios = <&gpio5 14 (GPIO_ACTIVE_HIGH |
> > GPIO_OPEN_DRAIN)>;
> > +       sda-gpios = <&gpio5 15 (GPIO_ACTIVE_HIGH |
> > GPIO_OPEN_DRAIN)>;
> >         status = "okay";
> >   
> >         pmic: pmic at 25 {
> > -               reg = <0x25>;
> >                 compatible = "nxp,pca9450c";
> > +               interrupts = <18 IRQ_TYPE_LEVEL_LOW>;
> > +               interrupt-parent = <&gpio4>;
> >                 pinctrl-names = "default";
> >                 pinctrl-0 = <&pinctrl_pmic>;
> > -               interrupt-parent = <&gpio4>;
> > -               interrupts = <18 IRQ_TYPE_LEVEL_LOW>;
> > +               reg = <0x25>;
> 
> We generally arrange properties in order of:
> 
> - compatible
> - reg
> - other generic properties
> - device specific properties
> - vendor specific properties
> - status
> 
> Shawn

Okay, thank you. I will go though the device tree and check the order
based on this.

Teresa

-- 
PHYTEC Messtechnik GmbH | Barcelona-Allee 1 | 55129 Mainz, Germany

Geschäftsführer: Dipl.-Ing. Michael Mitezki, Dipl.-Ing. Bodo Huber,
Dipl.-Ing. (FH) Markus Lickes | Handelsregister Mainz HRB 4656 |
Finanzamt Mainz | St.Nr. 266500608, DE 149059855


More information about the linux-arm-kernel mailing list