Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit afc3bca4 authored by Rob Herring's avatar Rob Herring
Browse files

dt-bindings: Use lower case hex in unit-addresses



DT unit addresses should be lower case hex. Fix all the
binding examples.

Converted with the following command from Krzysztof Kozlowski:

sed -e 's/@\([a-fA-F0-9_-]*\) {/@\L\1 {/' -i $(find Documentation/devicetree/bindings -name '*.txt')

Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 81ee6f1e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@ Note: child nodes can be added for auto probing from device tree.

Example: adding device info in dtsi file

adc: adc@12D10000 {
adc: adc@12d10000 {
	compatible = "samsung,exynos-adc-v1";
	reg = <0x12D10000 0x100>;
	interrupts = <0 106 0>;
@@ -71,7 +71,7 @@ adc: adc@12D10000 {

Example: adding device info in dtsi file for Exynos3250 with additional sclk

adc: adc@126C0000 {
adc: adc@126c0000 {
	compatible = "samsung,exynos3250-adc", "samsung,exynos-adc-v2;
	reg = <0x126C0000 0x100>;
	interrupts = <0 137 0>;
@@ -87,7 +87,7 @@ adc: adc@126C0000 {

Example: Adding child nodes in dts file

adc@12D10000 {
adc@12d10000 {

	/* NTC thermistor is a hwmon device */
	ncp15wb473@0 {
+1 −1
Original line number Diff line number Diff line
@@ -72,7 +72,7 @@ Optional nodes:
        - compatible: only "samsung,secure-firmware" is currently supported
        - reg: address of non-secure SYSRAM used for communication with firmware

	firmware@203F000 {
	firmware@203f000 {
		compatible = "samsung,secure-firmware";
		reg = <0x0203F000 0x1000>;
	};
+1 −1
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ Example 1: Examples of clock controller nodes are listed below.
		#clock-cells = <1>;
	};

	cmu_dmc: clock-controller@105C0000 {
	cmu_dmc: clock-controller@105c0000 {
		compatible = "samsung,exynos3250-cmu-dmc";
		reg = <0x105C0000 0x2000>;
		#clock-cells = <1>;
+1 −1
Original line number Diff line number Diff line
@@ -180,7 +180,7 @@ Example 2: UART controller node that consumes the clock generated by the
		peri clock controller. Refer to the standard clock bindings for
		information about 'clocks' and 'clock-names' property.

	serial@12C00000 {
	serial@12c00000 {
		compatible = "samsung,exynos4210-uart";
		reg = <0x12C00000 0x100>;
		interrupts = <0 146 0>;
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ Example 2: UART controller node that consumes the clock generated by the clock
	   controller. Refer to the standard clock bindings for information
	   about 'clocks' and 'clock-names' property.

	serial@12C20000 {
	serial@12c20000 {
		compatible = "samsung,exynos4210-uart";
		reg = <0x12C00000 0x100>;
		interrupts = <0 51 0>;
Loading