From: Wadim Egorov <w.egorov-guT5V/WYfQezQB+pC5nmwQ@public.gmane.org>
To: Heiko Stuebner <heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>,
linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: [PATCH 2/5] ARM: dts: rockchip: fix missing usbphy unit-names
Date: Fri, 1 Apr 2016 14:32:15 +0200 [thread overview]
Message-ID: <56FE6A4F.2010609@phytec.de> (raw)
In-Reply-To: <1459457651-4727-3-git-send-email-heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>
Hi Heiko,
you have changes in the spi.c file here.
On 31.03.2016 22:54, Heiko Stuebner wrote:
> The usbphy subnodes do have a reg property but no unitname, add them.
>
> Signed-off-by: Heiko Stuebner <heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>
> ---
> arch/arm/boot/dts/rk3066a.dtsi | 4 ++--
> arch/arm/boot/dts/rk3188.dtsi | 4 ++--
> arch/arm/boot/dts/rk3288.dtsi | 6 +++---
> drivers/spi/spi.c | 4 ++--
> 4 files changed, 9 insertions(+), 9 deletions(-)
>
> diff --git a/arch/arm/boot/dts/rk3066a.dtsi b/arch/arm/boot/dts/rk3066a.dtsi
> index cb0a552..c84a306 100644
> --- a/arch/arm/boot/dts/rk3066a.dtsi
> +++ b/arch/arm/boot/dts/rk3066a.dtsi
> @@ -207,7 +207,7 @@
> #size-cells = <0>;
> status = "disabled";
>
> - usbphy0: usb-phy0 {
> + usbphy0: usb-phy@17c {
> #phy-cells = <0>;
> reg = <0x17c>;
> clocks = <&cru SCLK_OTGPHY0>;
> @@ -215,7 +215,7 @@
> #clock-cells = <0>;
> };
>
> - usbphy1: usb-phy1 {
> + usbphy1: usb-phy@188 {
> #phy-cells = <0>;
> reg = <0x188>;
> clocks = <&cru SCLK_OTGPHY1>;
> diff --git a/arch/arm/boot/dts/rk3188.dtsi b/arch/arm/boot/dts/rk3188.dtsi
> index 9271833..c44c318 100644
> --- a/arch/arm/boot/dts/rk3188.dtsi
> +++ b/arch/arm/boot/dts/rk3188.dtsi
> @@ -166,7 +166,7 @@
> #size-cells = <0>;
> status = "disabled";
>
> - usbphy0: usb-phy0 {
> + usbphy0: usb-phy@10c {
> #phy-cells = <0>;
> reg = <0x10c>;
> clocks = <&cru SCLK_OTGPHY0>;
> @@ -174,7 +174,7 @@
> #clock-cells = <0>;
> };
>
> - usbphy1: usb-phy1 {
> + usbphy1: usb-phy@11c {
> #phy-cells = <0>;
> reg = <0x11c>;
> clocks = <&cru SCLK_OTGPHY1>;
> diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi
> index f445d19..ee4085d 100644
> --- a/arch/arm/boot/dts/rk3288.dtsi
> +++ b/arch/arm/boot/dts/rk3288.dtsi
> @@ -967,7 +967,7 @@
> #size-cells = <0>;
> status = "disabled";
>
> - usbphy0: usb-phy0 {
> + usbphy0: usb-phy@320 {
> #phy-cells = <0>;
> reg = <0x320>;
> clocks = <&cru SCLK_OTGPHY0>;
> @@ -975,7 +975,7 @@
> #clock-cells = <0>;
> };
>
> - usbphy1: usb-phy1 {
> + usbphy1: usb-phy@334 {
> #phy-cells = <0>;
> reg = <0x334>;
> clocks = <&cru SCLK_OTGPHY1>;
> @@ -983,7 +983,7 @@
> #clock-cells = <0>;
> };
>
> - usbphy2: usb-phy2 {
> + usbphy2: usb-phy@348 {
> #phy-cells = <0>;
> reg = <0x348>;
> clocks = <&cru SCLK_OTGPHY2>;
> diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c
> index de2f2f9..0239b45 100644
> --- a/drivers/spi/spi.c
> +++ b/drivers/spi/spi.c
> @@ -1209,7 +1209,7 @@ static void spi_pump_messages(struct kthread_work *work)
> struct spi_master *master =
> container_of(work, struct spi_master, pump_messages);
>
> - __spi_pump_messages(master, true, false);
> + __spi_pump_messages(master, true, master->bus_lock_flag);
> }
>
> static int spi_init_queue(struct spi_master *master)
> @@ -2853,7 +2853,7 @@ static int __spi_sync(struct spi_device *spi, struct spi_message *message,
> */
> int spi_sync(struct spi_device *spi, struct spi_message *message)
> {
> - return __spi_sync(spi, message, 0);
> + return __spi_sync(spi, message, spi->master->bus_lock_flag);
> }
> EXPORT_SYMBOL_GPL(spi_sync);
>
WARNING: multiple messages have this Message-ID (diff)
From: w.egorov@phytec.de (Wadim Egorov)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/5] ARM: dts: rockchip: fix missing usbphy unit-names
Date: Fri, 1 Apr 2016 14:32:15 +0200 [thread overview]
Message-ID: <56FE6A4F.2010609@phytec.de> (raw)
In-Reply-To: <1459457651-4727-3-git-send-email-heiko@sntech.de>
Hi Heiko,
you have changes in the spi.c file here.
On 31.03.2016 22:54, Heiko Stuebner wrote:
> The usbphy subnodes do have a reg property but no unitname, add them.
>
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
> ---
> arch/arm/boot/dts/rk3066a.dtsi | 4 ++--
> arch/arm/boot/dts/rk3188.dtsi | 4 ++--
> arch/arm/boot/dts/rk3288.dtsi | 6 +++---
> drivers/spi/spi.c | 4 ++--
> 4 files changed, 9 insertions(+), 9 deletions(-)
>
> diff --git a/arch/arm/boot/dts/rk3066a.dtsi b/arch/arm/boot/dts/rk3066a.dtsi
> index cb0a552..c84a306 100644
> --- a/arch/arm/boot/dts/rk3066a.dtsi
> +++ b/arch/arm/boot/dts/rk3066a.dtsi
> @@ -207,7 +207,7 @@
> #size-cells = <0>;
> status = "disabled";
>
> - usbphy0: usb-phy0 {
> + usbphy0: usb-phy at 17c {
> #phy-cells = <0>;
> reg = <0x17c>;
> clocks = <&cru SCLK_OTGPHY0>;
> @@ -215,7 +215,7 @@
> #clock-cells = <0>;
> };
>
> - usbphy1: usb-phy1 {
> + usbphy1: usb-phy at 188 {
> #phy-cells = <0>;
> reg = <0x188>;
> clocks = <&cru SCLK_OTGPHY1>;
> diff --git a/arch/arm/boot/dts/rk3188.dtsi b/arch/arm/boot/dts/rk3188.dtsi
> index 9271833..c44c318 100644
> --- a/arch/arm/boot/dts/rk3188.dtsi
> +++ b/arch/arm/boot/dts/rk3188.dtsi
> @@ -166,7 +166,7 @@
> #size-cells = <0>;
> status = "disabled";
>
> - usbphy0: usb-phy0 {
> + usbphy0: usb-phy at 10c {
> #phy-cells = <0>;
> reg = <0x10c>;
> clocks = <&cru SCLK_OTGPHY0>;
> @@ -174,7 +174,7 @@
> #clock-cells = <0>;
> };
>
> - usbphy1: usb-phy1 {
> + usbphy1: usb-phy at 11c {
> #phy-cells = <0>;
> reg = <0x11c>;
> clocks = <&cru SCLK_OTGPHY1>;
> diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi
> index f445d19..ee4085d 100644
> --- a/arch/arm/boot/dts/rk3288.dtsi
> +++ b/arch/arm/boot/dts/rk3288.dtsi
> @@ -967,7 +967,7 @@
> #size-cells = <0>;
> status = "disabled";
>
> - usbphy0: usb-phy0 {
> + usbphy0: usb-phy at 320 {
> #phy-cells = <0>;
> reg = <0x320>;
> clocks = <&cru SCLK_OTGPHY0>;
> @@ -975,7 +975,7 @@
> #clock-cells = <0>;
> };
>
> - usbphy1: usb-phy1 {
> + usbphy1: usb-phy at 334 {
> #phy-cells = <0>;
> reg = <0x334>;
> clocks = <&cru SCLK_OTGPHY1>;
> @@ -983,7 +983,7 @@
> #clock-cells = <0>;
> };
>
> - usbphy2: usb-phy2 {
> + usbphy2: usb-phy at 348 {
> #phy-cells = <0>;
> reg = <0x348>;
> clocks = <&cru SCLK_OTGPHY2>;
> diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c
> index de2f2f9..0239b45 100644
> --- a/drivers/spi/spi.c
> +++ b/drivers/spi/spi.c
> @@ -1209,7 +1209,7 @@ static void spi_pump_messages(struct kthread_work *work)
> struct spi_master *master =
> container_of(work, struct spi_master, pump_messages);
>
> - __spi_pump_messages(master, true, false);
> + __spi_pump_messages(master, true, master->bus_lock_flag);
> }
>
> static int spi_init_queue(struct spi_master *master)
> @@ -2853,7 +2853,7 @@ static int __spi_sync(struct spi_device *spi, struct spi_message *message,
> */
> int spi_sync(struct spi_device *spi, struct spi_message *message)
> {
> - return __spi_sync(spi, message, 0);
> + return __spi_sync(spi, message, spi->master->bus_lock_flag);
> }
> EXPORT_SYMBOL_GPL(spi_sync);
>
next prev parent reply other threads:[~2016-04-01 12:32 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-31 20:54 [PATCH 0/5] ARM: dts: rockchip: small cleanups Heiko Stuebner
2016-03-31 20:54 ` Heiko Stuebner
[not found] ` <1459457651-4727-1-git-send-email-heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>
2016-03-31 20:54 ` [PATCH 1/5] ARM: dts: rockchip: fix rk3288 power-domain unit names Heiko Stuebner
2016-03-31 20:54 ` Heiko Stuebner
2016-03-31 20:54 ` [PATCH 2/5] ARM: dts: rockchip: fix missing usbphy unit-names Heiko Stuebner
2016-03-31 20:54 ` Heiko Stuebner
[not found] ` <1459457651-4727-3-git-send-email-heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>
2016-04-01 12:32 ` Wadim Egorov [this message]
2016-04-01 12:32 ` Wadim Egorov
[not found] ` <56FE6A4F.2010609-guT5V/WYfQezQB+pC5nmwQ@public.gmane.org>
2016-04-01 13:27 ` [PATCH v2 " Heiko Stuebner
2016-04-01 13:27 ` Heiko Stuebner
2016-03-31 20:54 ` [PATCH 3/5] ARM: dts: rockchip: clean up gpio-keys nodes Heiko Stuebner
2016-03-31 20:54 ` Heiko Stuebner
2016-03-31 20:54 ` [PATCH 4/5] ARM: dts: rockchip: drop unneeded properties from mipi node Heiko Stuebner
2016-03-31 20:54 ` Heiko Stuebner
2016-03-31 20:54 ` [PATCH 5/5] ARM: dts: rockchip: add missing unitname to cpu_leakage efuse Heiko Stuebner
2016-03-31 20:54 ` Heiko Stuebner
2016-03-31 21:26 ` [PATCH 0/5] ARM: dts: rockchip: small cleanups Rob Herring
2016-03-31 21:26 ` Rob Herring
2016-04-06 23:17 ` Heiko Stuebner
2016-04-06 23:17 ` Heiko Stuebner
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=56FE6A4F.2010609@phytec.de \
--to=w.egorov-gut5v/wyfqezqb+pc5nmwq@public.gmane.org \
--cc=heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
/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.