Commit c28c2b85 authored by Sebastian Reichel's avatar Sebastian Reichel Committed by Tony Lindgren

ARM: dts: motorola-cpcap-mapphone: Prepare for dtbs_check parsing

'<&gpio1 parameters &gpio2 parameters>' and '<&gpio1 parameters>,
<&gpio2 parameters>' result in the same DTB, but second format has
better source code readability. Also 'dtbs_check' currently uses
this format to determine the amount of items specified, so using
this syntax is needed to successfully verify the devicetree source
against a DT schema format.

Cc: linux-omap@vger.kernel.org
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent f5a1acab
...@@ -27,16 +27,14 @@ cpcap_adc: adc { ...@@ -27,16 +27,14 @@ cpcap_adc: adc {
cpcap_battery: battery { cpcap_battery: battery {
compatible = "motorola,cpcap-battery"; compatible = "motorola,cpcap-battery";
interrupts-extended = < interrupts-extended =
&cpcap 6 0 &cpcap 5 0 &cpcap 3 0 <&cpcap 6 0>, <&cpcap 5 0>, <&cpcap 3 0>,
&cpcap 20 0 &cpcap 54 0 &cpcap 57 0 <&cpcap 20 0>, <&cpcap 54 0>, <&cpcap 57 0>;
>;
interrupt-names = interrupt-names =
"eol", "lowbph", "lowbpl", "eol", "lowbph", "lowbpl",
"chrgcurr1", "battdetb", "chrgcurr1", "battdetb", "cccal";
"cccal"; io-channels = <&cpcap_adc 0>, <&cpcap_adc 1>,
io-channels = <&cpcap_adc 0 &cpcap_adc 1 <&cpcap_adc 5>, <&cpcap_adc 6>;
&cpcap_adc 5 &cpcap_adc 6>;
io-channel-names = "battdetb", "battp", io-channel-names = "battdetb", "battp",
"chg_isense", "batti"; "chg_isense", "batti";
power-supplies = <&cpcap_charger>; power-supplies = <&cpcap_charger>;
...@@ -44,20 +42,19 @@ &cpcap 20 0 &cpcap 54 0 &cpcap 57 0 ...@@ -44,20 +42,19 @@ &cpcap 20 0 &cpcap 54 0 &cpcap 57 0
cpcap_charger: charger { cpcap_charger: charger {
compatible = "motorola,mapphone-cpcap-charger"; compatible = "motorola,mapphone-cpcap-charger";
interrupts-extended = < interrupts-extended =
&cpcap 13 0 &cpcap 12 0 &cpcap 29 0 &cpcap 28 0 <&cpcap 13 0>, <&cpcap 12 0>, <&cpcap 29 0>,
&cpcap 22 0 &cpcap 21 0 &cpcap 20 0 &cpcap 19 0 <&cpcap 28 0>, <&cpcap 22 0>, <&cpcap 21 0>,
&cpcap 54 0 <&cpcap 20 0>, <&cpcap 19 0>, <&cpcap 54 0>;
>;
interrupt-names = interrupt-names =
"chrg_det", "rvrs_chrg", "chrg_se1b", "se0conn", "chrg_det", "rvrs_chrg", "chrg_se1b",
"rvrs_mode", "chrgcurr2", "chrgcurr1", "vbusvld", "se0conn", "rvrs_mode", "chrgcurr2",
"battdetb"; "chrgcurr1", "vbusvld", "battdetb";
mode-gpios = <&gpio3 29 GPIO_ACTIVE_LOW mode-gpios = <&gpio3 29 GPIO_ACTIVE_LOW>,
&gpio3 23 GPIO_ACTIVE_LOW>; <&gpio3 23 GPIO_ACTIVE_LOW>;
io-channels = <&cpcap_adc 0 &cpcap_adc 1 io-channels = <&cpcap_adc 0>, <&cpcap_adc 1>,
&cpcap_adc 2 &cpcap_adc 5 <&cpcap_adc 2>, <&cpcap_adc 5>,
&cpcap_adc 6>; <&cpcap_adc 6>;
io-channel-names = "battdetb", "battp", io-channel-names = "battdetb", "battp",
"vbus", "chg_isense", "vbus", "chg_isense",
"batti"; "batti";
...@@ -98,22 +95,22 @@ power_button: button { ...@@ -98,22 +95,22 @@ power_button: button {
cpcap_usb2_phy: phy { cpcap_usb2_phy: phy {
compatible = "motorola,mapphone-cpcap-usb-phy"; compatible = "motorola,mapphone-cpcap-usb-phy";
pinctrl-0 = <&usb_gpio_mux_sel1 &usb_gpio_mux_sel2>; pinctrl-0 = <&usb_gpio_mux_sel1>, <&usb_gpio_mux_sel2>;
pinctrl-1 = <&usb_ulpi_pins>; pinctrl-1 = <&usb_ulpi_pins>;
pinctrl-2 = <&usb_utmi_pins>; pinctrl-2 = <&usb_utmi_pins>;
pinctrl-3 = <&uart3_pins>; pinctrl-3 = <&uart3_pins>;
pinctrl-names = "default", "ulpi", "utmi", "uart"; pinctrl-names = "default", "ulpi", "utmi", "uart";
#phy-cells = <0>; #phy-cells = <0>;
interrupts-extended = < interrupts-extended =
&cpcap 15 0 &cpcap 14 0 &cpcap 28 0 &cpcap 19 0 <&cpcap 15 0>, <&cpcap 14 0>, <&cpcap 28 0>,
&cpcap 18 0 &cpcap 17 0 &cpcap 16 0 &cpcap 49 0 <&cpcap 19 0>, <&cpcap 18 0>, <&cpcap 17 0>,
&cpcap 48 0 <&cpcap 16 0>, <&cpcap 49 0>, <&cpcap 48 0>;
>;
interrupt-names = interrupt-names =
"id_ground", "id_float", "se0conn", "vbusvld", "id_ground", "id_float", "se0conn",
"sessvld", "sessend", "se1", "dm", "dp"; "vbusvld", "sessvld", "sessend",
mode-gpios = <&gpio2 28 GPIO_ACTIVE_HIGH "se1", "dm", "dp";
&gpio1 0 GPIO_ACTIVE_HIGH>; mode-gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>,
<&gpio1 0 GPIO_ACTIVE_HIGH>;
io-channels = <&cpcap_adc 2>, <&cpcap_adc 7>; io-channels = <&cpcap_adc 2>, <&cpcap_adc 7>;
io-channel-names = "vbus", "id"; io-channel-names = "vbus", "id";
vusb-supply = <&vusb>; vusb-supply = <&vusb>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment