From: Chen-Yu Tsai <wens@csie.org>
To: Quentin Schulz <quentin.schulz@free-electrons.com>
Cc: Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
Mark Rutland <mark.rutland@arm.com>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
Kumar Gala <galak@codeaurora.org>,
linux@armlinux.org.uk,
Maxime Ripard <maxime.ripard@free-electrons.com>,
Chen-Yu Tsai <wens@csie.org>,
devicetree <devicetree@vger.kernel.org>,
linux-arm-kernel <linux-arm-kernel@lists.infradead.org>,
linux-kernel <linux-kernel@vger.kernel.org>,
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Subject: Re: [PATCH v2] ARM: sun8i: Add Parrot Board DTS
Date: Thu, 23 Jun 2016 17:49:10 +0800 [thread overview]
Message-ID: <CAGb2v676iNBUCvZCYFAtNoW1BUqQz7r8y1_uFUGXNLxdLgoSLA@mail.gmail.com> (raw)
In-Reply-To: <1466602902-4022-1-git-send-email-quentin.schulz@free-electrons.com>
On Wed, Jun 22, 2016 at 9:41 PM, Quentin Schulz
<quentin.schulz@free-electrons.com> wrote:
> The Parrot Board is an evaluation board with an Allwinner R16 (assumed
> to be close to an Allwinner A33), 4GB of eMMC, 512MB of RAM, USB host
> and OTG, a WiFi/Bluetooth combo chip, a micro SD Card reader, 2
> controllable buttons, an LVDS port with separated backlight and
> capacitive touch panel ports, an audio/microphone jack, a camera CSI
> port, 2 sets of 22 GPIOs and an accelerometer.
>
> Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>
> ---
>
> Patch dependencies:
> - regulator: axp20x: Add support for the (external) drivebus regulator
> - ARM: dts: axp22x.dtsi: Add reg_drivebus node
> - ARM: dts: axp22x.dtsi: Add usb_power_supply node
> - power: axp20x_usb: Add support for usb power-supply on axp22x pmics
> - mfd: axp20x: Extend axp22x_volatile_ranges
> - mfd: axp20x: Add axp20x-usb-power-supply for axp22x pmics
> - phy-sun4i-usb: Add workaround for missing Vbus det interrupts on A31
> or the micro USB port would not be powered.
>
> v2:
> - correct typos,
> - chose less generic name suffix for nodes (now_parrot_r16),
> - add comment for i2c childless node,
> - add comment for two regulators-powered WiFi chip,
> - add comment to explicit the use of some regulators,
> - add usb_vbus_power-supply property in usbphy node (this adds a
> dependance to an other patch),
>
> arch/arm/boot/dts/Makefile | 1 +
> arch/arm/boot/dts/sun8i-r16-parrot.dts | 356 +++++++++++++++++++++++++++++++++
> 2 files changed, 357 insertions(+)
> create mode 100644 arch/arm/boot/dts/sun8i-r16-parrot.dts
>
> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> index 1ff5434..6c7581f 100644
> --- a/arch/arm/boot/dts/Makefile
> +++ b/arch/arm/boot/dts/Makefile
> @@ -762,6 +762,7 @@ dtb-$(CONFIG_MACH_SUN8I) += \
> sun8i-a33-ippo-q8h-v1.2.dtb \
> sun8i-a33-q8-tablet.dtb \
> sun8i-a33-sinlinx-sina33.dtb \
> + sun8i-r16-parrot.dtb \
> sun8i-a83t-allwinner-h8homlet-v2.dtb \
> sun8i-a83t-cubietruck-plus.dtb \
> sun8i-h3-orangepi-2.dtb \
> diff --git a/arch/arm/boot/dts/sun8i-r16-parrot.dts b/arch/arm/boot/dts/sun8i-r16-parrot.dts
> new file mode 100644
> index 0000000..cd68bfa
> --- /dev/null
> +++ b/arch/arm/boot/dts/sun8i-r16-parrot.dts
> @@ -0,0 +1,356 @@
[...]
> +®_usb1_vbus {
> + pinctrl-names = "default";
> + pinctrl-0 = <&usb1_vbus_pin_parrot_r16>;
> + gpio = <&pio 3 12 GPIO_ACTIVE_HIGH>; /* PD12 */
> + status = "okay";
> +};
> +
> +&uart0 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&uart0_pins_b>;
> + status = "okay";
> +};
> +
> +&usb_otg {
> + dr_mode = "otg";
> + status = "okay";
> +};
> +
> +&usb_power_supply {
> + status = "okay";
> +};
> +
> +&usbphy {
> + status = "okay";
> + pinctrl-names = "default";
> + pinctrl-0 = <&usb0_id_det>;
> + usb0_vbus-supply = <®_drivevbus>;
> + usb0_id_det-gpios = <&pio 3 10 GPIO_ACTIVE_HIGH>; /* PD10 */
> + usb0_vbus_power-supply = <&usb_power_supply>;
> + usb1_vbus-supply = <®_usb1_vbus>; /* USB1 VBUS is always on */
The comment is misleading, as you have a controllable regulator above.
Otherwise,
Acked-by: Chen-Yu Tsai <wens@csie.org>
> +};
> --
> 2.5.0
>
next prev parent reply other threads:[~2016-06-23 9:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-22 13:41 [PATCH v2] ARM: sun8i: Add Parrot Board DTS Quentin Schulz
2016-06-23 9:49 ` Chen-Yu Tsai [this message]
2016-06-23 11:57 ` Maxime Ripard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAGb2v676iNBUCvZCYFAtNoW1BUqQz7r8y1_uFUGXNLxdLgoSLA@mail.gmail.com \
--to=wens@csie.org \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=mark.rutland@arm.com \
--cc=maxime.ripard@free-electrons.com \
--cc=pawel.moll@arm.com \
--cc=quentin.schulz@free-electrons.com \
--cc=robh+dt@kernel.org \
--cc=thomas.petazzoni@free-electrons.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).