All of lore.kernel.org
 help / color / mirror / Atom feed
From: 李云志 <lyz@rock-chips.com>
To: HeikoStübner <heiko@sntech.de>
Cc: 蔡枫 <cf@rock-chips.com>, 黄林 <hl@rock-chips.com>,
	杨凯 <yk@rock-chips.com>, gauravsh <gauravsh@google.com>,
	alberto <alberto@google.com>, 吴良峰 <wulf@rock-chips.com>,
	"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>,
	"Russell King" <linux@arm.linux.org.uk>,
	linux-arm-kernel <linux-arm-kernel@lists.infradead.org>,
	linux-rockchip <linux-rockchip@lists.infradead.org>,
	devicetree <devicetree@vger.kernel.org>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Re: [PATCH v1 2/2] ARM: dts: rockchip: set dr_mode property for rk3288-firefly board
Date: Mon, 27 Apr 2015 15:47:31 +0800	[thread overview]
Message-ID: <2015042715463079728985@rock-chips.com> (raw)
In-Reply-To: 8829961.lJFBlrS3Ia@diego

[-- Attachment #1: Type: text/plain, Size: 1786 bytes --]

Hi Heiko:

    I thought the Firefly board has a USB type A receptacle connector for otg like chromebook, but actually Firefly board use a micro-B connector.
If some board use a type A connector for otg port then it should add a dr_mode = "host" property beacuse type A connector not connect usb-id
pin to soc.
    So please ignore this patch, it's my mistake .



李云志
 
From: HeikoStübner
Date: 2015-04-26 18:16
To: Yunzhi Li
CC: cf; hl; yk; gauravsh; alberto; wulf; Rob Herring; Pawel Moll; Mark Rutland; Ian Campbell; Kumar Gala; Russell King; linux-arm-kernel; linux-rockchip; devicetree; linux-kernel
Subject: Re: [PATCH v1 2/2] ARM: dts: rockchip: set dr_mode property for rk3288-firefly board
Hi,
 
Am Sonntag, 26. April 2015, 17:41:39 schrieb Yunzhi Li:
> rk3288-firefly board use the dwc2 usb otg controller as a host
> controller and the device mode not used, so the dr_mode should be
> "host" then the dwc2 usb otg controller will work at host only
> mode
> 
> Signed-off-by: Yunzhi Li <lyz@rock-chips.com>
 
Not sure I understand. Is this some sort of hardware limitation? Because when 
for example flashing a kernel via upgrade_tool it is working just fine as 
gadget.
 
If it is a software choice, this should not be made in the devicetree, as the 
dt describes the hardware alone.
 
 
Heiko
 
 
> 
> ---
> 
>  arch/arm/boot/dts/rk3288-firefly.dtsi | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/boot/dts/rk3288-firefly.dtsi
> b/arch/arm/boot/dts/rk3288-firefly.dtsi index e6f873a..a861776 100644
> --- a/arch/arm/boot/dts/rk3288-firefly.dtsi
> +++ b/arch/arm/boot/dts/rk3288-firefly.dtsi
> @@ -466,6 +466,7 @@
>  };
> 
>  &usb_otg {
> + dr_modr = "host";
>  status = "okay";
>  };
 
 
 

[-- Attachment #2: Type: text/html, Size: 5198 bytes --]

  reply	other threads:[~2015-04-27  7:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-26  9:41 [PATCH v1 1/2] ARM: dts: rockchip: add properties for dwc2 usb otg controller Yunzhi Li
2015-04-26  9:41 ` Yunzhi Li
2015-04-26  9:41 ` [PATCH v1 2/2] ARM: dts: rockchip: set dr_mode property for rk3288-firefly board Yunzhi Li
2015-04-26  9:41   ` Yunzhi Li
     [not found]   ` <1430041299-24874-2-git-send-email-lyz-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
2015-04-26 10:16     ` Heiko Stübner
2015-04-26 10:16       ` Heiko Stübner
2015-04-26 10:16       ` Heiko Stübner
2015-04-27  7:47       ` 李云志 [this message]
2015-04-26 11:12   ` Sergei Shtylyov
2015-04-26 11:12     ` Sergei Shtylyov
2015-04-28 20:59 ` [PATCH v1 1/2] ARM: dts: rockchip: add properties for dwc2 usb otg controller Heiko Stübner
2015-04-28 20:59   ` Heiko Stübner

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=2015042715463079728985@rock-chips.com \
    --to=lyz@rock-chips.com \
    --cc=alberto@google.com \
    --cc=cf@rock-chips.com \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=gauravsh@google.com \
    --cc=heiko@sntech.de \
    --cc=hl@rock-chips.com \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=linux@arm.linux.org.uk \
    --cc=mark.rutland@arm.com \
    --cc=pawel.moll@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=wulf@rock-chips.com \
    --cc=yk@rock-chips.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.