All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chen-Yu Tsai <wens@csie.org>
To: Maxime Ripard <maxime.ripard@free-electrons.com>,
	David Airlie <airlied@linux.ie>
Cc: devicetree@vger.kernel.org, Chen-Yu Tsai <wens@csie.org>,
	dri-devel@lists.freedesktop.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, Hans de Goede <hdegoede@redhat.com>
Subject: [PATCH 3/6] ARM: dts: sun5i: q8-common: Enable USB-based WiFi
Date: Tue, 17 May 2016 23:56:08 +0800	[thread overview]
Message-ID: <1463500571-28970-4-git-send-email-wens@csie.org> (raw)
In-Reply-To: <1463500571-28970-1-git-send-email-wens@csie.org>

The early A13 Q8 tablets all use a Realtek WiFi module connected to
USB1. The module is powered by AXP209's LDO3 at 3.3V.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
---
 arch/arm/boot/dts/sun5i-q8-common.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/sun5i-q8-common.dtsi b/arch/arm/boot/dts/sun5i-q8-common.dtsi
index a78e189f6653..dcaaa085ac77 100644
--- a/arch/arm/boot/dts/sun5i-q8-common.dtsi
+++ b/arch/arm/boot/dts/sun5i-q8-common.dtsi
@@ -154,6 +154,12 @@
 	regulator-name = "avcc";
 };
 
+&reg_ldo3 {
+	regulator-min-microvolt = <3300000>;
+	regulator-max-microvolt = <3300000>;
+	regulator-name = "vcc-wifi";
+};
+
 &reg_usb0_vbus {
 	gpio = <&pio 6 12 GPIO_ACTIVE_HIGH>; /* PG12 */
 	status = "okay";
@@ -176,5 +182,6 @@
 	usb0_id_det-gpio = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */
 	usb0_vbus_det-gpio = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */
 	usb0_vbus-supply = <&reg_usb0_vbus>;
+	usb1_vbus-supply = <&reg_ldo3>;
 	status = "okay";
 };
-- 
2.8.1

WARNING: multiple messages have this Message-ID (diff)
From: Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org>
To: Maxime Ripard
	<maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>,
	David Airlie <airlied-cv59FeDIM0c@public.gmane.org>
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org>,
	dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Subject: [PATCH 3/6] ARM: dts: sun5i: q8-common: Enable USB-based WiFi
Date: Tue, 17 May 2016 23:56:08 +0800	[thread overview]
Message-ID: <1463500571-28970-4-git-send-email-wens@csie.org> (raw)
In-Reply-To: <1463500571-28970-1-git-send-email-wens-jdAy2FN1RRM@public.gmane.org>

The early A13 Q8 tablets all use a Realtek WiFi module connected to
USB1. The module is powered by AXP209's LDO3 at 3.3V.

Signed-off-by: Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org>
---
 arch/arm/boot/dts/sun5i-q8-common.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/sun5i-q8-common.dtsi b/arch/arm/boot/dts/sun5i-q8-common.dtsi
index a78e189f6653..dcaaa085ac77 100644
--- a/arch/arm/boot/dts/sun5i-q8-common.dtsi
+++ b/arch/arm/boot/dts/sun5i-q8-common.dtsi
@@ -154,6 +154,12 @@
 	regulator-name = "avcc";
 };
 
+&reg_ldo3 {
+	regulator-min-microvolt = <3300000>;
+	regulator-max-microvolt = <3300000>;
+	regulator-name = "vcc-wifi";
+};
+
 &reg_usb0_vbus {
 	gpio = <&pio 6 12 GPIO_ACTIVE_HIGH>; /* PG12 */
 	status = "okay";
@@ -176,5 +182,6 @@
 	usb0_id_det-gpio = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */
 	usb0_vbus_det-gpio = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */
 	usb0_vbus-supply = <&reg_usb0_vbus>;
+	usb1_vbus-supply = <&reg_ldo3>;
 	status = "okay";
 };
-- 
2.8.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: wens@csie.org (Chen-Yu Tsai)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/6] ARM: dts: sun5i: q8-common: Enable USB-based WiFi
Date: Tue, 17 May 2016 23:56:08 +0800	[thread overview]
Message-ID: <1463500571-28970-4-git-send-email-wens@csie.org> (raw)
In-Reply-To: <1463500571-28970-1-git-send-email-wens@csie.org>

The early A13 Q8 tablets all use a Realtek WiFi module connected to
USB1. The module is powered by AXP209's LDO3 at 3.3V.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
---
 arch/arm/boot/dts/sun5i-q8-common.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/sun5i-q8-common.dtsi b/arch/arm/boot/dts/sun5i-q8-common.dtsi
index a78e189f6653..dcaaa085ac77 100644
--- a/arch/arm/boot/dts/sun5i-q8-common.dtsi
+++ b/arch/arm/boot/dts/sun5i-q8-common.dtsi
@@ -154,6 +154,12 @@
 	regulator-name = "avcc";
 };
 
+&reg_ldo3 {
+	regulator-min-microvolt = <3300000>;
+	regulator-max-microvolt = <3300000>;
+	regulator-name = "vcc-wifi";
+};
+
 &reg_usb0_vbus {
 	gpio = <&pio 6 12 GPIO_ACTIVE_HIGH>; /* PG12 */
 	status = "okay";
@@ -176,5 +182,6 @@
 	usb0_id_det-gpio = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */
 	usb0_vbus_det-gpio = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */
 	usb0_vbus-supply = <&reg_usb0_vbus>;
+	usb1_vbus-supply = <&reg_ldo3>;
 	status = "okay";
 };
-- 
2.8.1

  parent reply	other threads:[~2016-05-17 15:56 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-17 15:56 [PATCH 0/6] ARM: dts: sun5i: q8-common: Enable various peripherals Chen-Yu Tsai
2016-05-17 15:56 ` Chen-Yu Tsai
2016-05-17 15:56 ` Chen-Yu Tsai
2016-05-17 15:56 ` [PATCH 1/6] drm: sun4i: do cleanup if RGB output init fails Chen-Yu Tsai
2016-05-17 15:56   ` Chen-Yu Tsai
2016-05-17 15:56   ` Chen-Yu Tsai
2016-05-25 12:38   ` Maxime Ripard
2016-05-25 12:38     ` Maxime Ripard
2016-05-17 15:56 ` [PATCH 2/6] ARM: dts: axp209: Disable ldo5 by default Chen-Yu Tsai
2016-05-17 15:56   ` Chen-Yu Tsai
2016-05-25 12:39   ` Maxime Ripard
2016-05-25 12:39     ` Maxime Ripard
2016-05-25 12:39     ` Maxime Ripard
2016-05-17 15:56 ` Chen-Yu Tsai [this message]
2016-05-17 15:56   ` [PATCH 3/6] ARM: dts: sun5i: q8-common: Enable USB-based WiFi Chen-Yu Tsai
2016-05-17 15:56   ` Chen-Yu Tsai
2016-05-17 15:56 ` [PATCH 4/6] ARM: dts: sun5i: q8-common: Enable USB power supply Chen-Yu Tsai
2016-05-17 15:56   ` Chen-Yu Tsai
2016-05-25 12:41   ` Maxime Ripard
2016-05-25 12:41     ` Maxime Ripard
2016-05-17 15:56 ` [PATCH 5/6] ARM: dts: sun5i: q8-common: Enable audio codec Chen-Yu Tsai
2016-05-17 15:56   ` Chen-Yu Tsai
2016-05-25 12:43   ` Maxime Ripard
2016-05-25 12:43     ` Maxime Ripard
2016-05-25 12:43     ` Maxime Ripard
2016-05-17 15:56 ` [PATCH 6/6] ARM: dts: sun5i: q8-common: Enable display pipeline and LCD display Chen-Yu Tsai
2016-05-17 15:56   ` Chen-Yu Tsai
2016-05-17 15:56   ` Chen-Yu Tsai
2016-05-25 12:44   ` Maxime Ripard
2016-05-25 12:44     ` Maxime Ripard
2016-05-25 12:44     ` Maxime Ripard
2016-05-18  8:13 ` [PATCH 0/6] ARM: dts: sun5i: q8-common: Enable various peripherals Hans de Goede
2016-05-18  8:13   ` Hans de Goede
2016-05-18  8:13   ` Hans de Goede
2016-05-25 12:40   ` Maxime Ripard
2016-05-25 12:40     ` 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=1463500571-28970-4-git-send-email-wens@csie.org \
    --to=wens@csie.org \
    --cc=airlied@linux.ie \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=hdegoede@redhat.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maxime.ripard@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.