Loading Documentation/devicetree/bindings/regmap/regmap.txt +7 −4 Original line number Diff line number Diff line Loading @@ -5,15 +5,18 @@ Index Device Endianness properties --------------------------------------------------- 1 BE 'big-endian' 2 LE 'little-endian' 3 Native 'native-endian' For one device driver, which will run in different scenarios above on different SoCs using the devicetree, we need one way to simplify this. Required properties: - {big,little}-endian: these are boolean properties, if absent meaning that the CPU and the Device are in the same endianness mode, these properties are for register values and all the buffers only. Optional properties: - {big,little,native}-endian: these are boolean properties, if absent then the implementation will choose a default based on the device being controlled. These properties are for register values and all the buffers only. Native endian means that the CPU and device have the same endianness. Examples: Scenario 1 : CPU in LE mode & device in LE mode. Loading arch/mips/boot/dts/brcm/bcm6328.dtsi +1 −1 Original line number Diff line number Diff line Loading @@ -74,7 +74,7 @@ timer: timer@10000040 { compatible = "syscon"; reg = <0x10000040 0x2c>; little-endian; native-endian; }; reboot { Loading arch/mips/boot/dts/brcm/bcm6368.dtsi +1 −1 Original line number Diff line number Diff line Loading @@ -54,7 +54,7 @@ periph_cntl: syscon@10000000 { compatible = "syscon"; reg = <0x10000000 0x14>; little-endian; native-endian; }; reboot: syscon-reboot@10000008 { Loading arch/mips/boot/dts/brcm/bcm7125.dtsi +1 −1 Original line number Diff line number Diff line Loading @@ -98,7 +98,7 @@ sun_top_ctrl: syscon@404000 { compatible = "brcm,bcm7125-sun-top-ctrl", "syscon"; reg = <0x404000 0x60c>; little-endian; native-endian; }; reboot { Loading arch/mips/boot/dts/brcm/bcm7346.dtsi +1 −1 Original line number Diff line number Diff line Loading @@ -118,7 +118,7 @@ sun_top_ctrl: syscon@404000 { compatible = "brcm,bcm7346-sun-top-ctrl", "syscon"; reg = <0x404000 0x51c>; little-endian; native-endian; }; reboot { Loading Loading
Documentation/devicetree/bindings/regmap/regmap.txt +7 −4 Original line number Diff line number Diff line Loading @@ -5,15 +5,18 @@ Index Device Endianness properties --------------------------------------------------- 1 BE 'big-endian' 2 LE 'little-endian' 3 Native 'native-endian' For one device driver, which will run in different scenarios above on different SoCs using the devicetree, we need one way to simplify this. Required properties: - {big,little}-endian: these are boolean properties, if absent meaning that the CPU and the Device are in the same endianness mode, these properties are for register values and all the buffers only. Optional properties: - {big,little,native}-endian: these are boolean properties, if absent then the implementation will choose a default based on the device being controlled. These properties are for register values and all the buffers only. Native endian means that the CPU and device have the same endianness. Examples: Scenario 1 : CPU in LE mode & device in LE mode. Loading
arch/mips/boot/dts/brcm/bcm6328.dtsi +1 −1 Original line number Diff line number Diff line Loading @@ -74,7 +74,7 @@ timer: timer@10000040 { compatible = "syscon"; reg = <0x10000040 0x2c>; little-endian; native-endian; }; reboot { Loading
arch/mips/boot/dts/brcm/bcm6368.dtsi +1 −1 Original line number Diff line number Diff line Loading @@ -54,7 +54,7 @@ periph_cntl: syscon@10000000 { compatible = "syscon"; reg = <0x10000000 0x14>; little-endian; native-endian; }; reboot: syscon-reboot@10000008 { Loading
arch/mips/boot/dts/brcm/bcm7125.dtsi +1 −1 Original line number Diff line number Diff line Loading @@ -98,7 +98,7 @@ sun_top_ctrl: syscon@404000 { compatible = "brcm,bcm7125-sun-top-ctrl", "syscon"; reg = <0x404000 0x60c>; little-endian; native-endian; }; reboot { Loading
arch/mips/boot/dts/brcm/bcm7346.dtsi +1 −1 Original line number Diff line number Diff line Loading @@ -118,7 +118,7 @@ sun_top_ctrl: syscon@404000 { compatible = "brcm,bcm7346-sun-top-ctrl", "syscon"; reg = <0x404000 0x51c>; little-endian; native-endian; }; reboot { Loading