From patchwork Fri Jun 12 13:27:28 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans de Goede X-Patchwork-Id: 483588 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 96FF6140290 for ; Fri, 12 Jun 2015 23:27:33 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750814AbbFLN1c (ORCPT ); Fri, 12 Jun 2015 09:27:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55637 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752818AbbFLN1b (ORCPT ); Fri, 12 Jun 2015 09:27:31 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id B372D373F4F; Fri, 12 Jun 2015 13:27:31 +0000 (UTC) Received: from shalem.localdomain (vpn1-6-209.ams2.redhat.com [10.36.6.209]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t5CDRTA1005797 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 12 Jun 2015 09:27:30 -0400 Message-ID: <557ADE40.70200@redhat.com> Date: Fri, 12 Jun 2015 15:27:28 +0200 From: Hans de Goede User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Maxime Ripard CC: Chen-Yu Tsai , linux-arm-kernel@lists.infradead.org, devicetree , linux-sunxi@googlegroups.com Subject: Re: [PATCH 00/20] ARM: dts: Add USB and OTG related nodes and enable on various boards References: <1433530943-12599-1-git-send-email-hdegoede@redhat.com> <20150608100358.GW23777@lukather> <55783B2C.3080207@redhat.com> In-Reply-To: <55783B2C.3080207@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi, On 10-06-15 15:27, Hans de Goede wrote: > Hi, > > On 08-06-15 12:03, Maxime Ripard wrote: >> Hi Hans, >> >> On Fri, Jun 05, 2015 at 09:02:03PM +0200, Hans de Goede wrote: >>> Hi Maxime, >>> >>> Here is a patch-set with all the otg / sun8i-usb-host related dts patches >>> I've accumulated. >>> >>> These are intended for 4.3, and go hand in hand with the outstanding >>> musb-sunxi / phy-sun4i-usb patches, which I expect to be merged as is >>> for 4.3 . >> >> I'm fine with these patches. Do you have a branch somewhere that I can >> pull (without the one that you wanted me to drop, obviously)? > > I've just created a branch with just these patches directly on top > of sunxi/for-next for you: > > https://github.com/jwrdegoede/linux-sunxi/commits/otg-dts-for-maxime Please ignore this for now. There have been some changes to the extcon framework, making it more integrated with devicetree, this means I need to add an extcon property to the musb nodes in devicetree: I'll push a new version of the patches to otg-dts-for-maxime with the extcon property added for you and ping you when it is ready. > While preparing this branch I noticed that the dts for > the ippo q8h a33 tablets is not yet merged: > > http://www.spinics.net/lists/devicetree/msg82149.html > > You suggested to use the DT quirks interface instead of creating > a separate dts for each board variant, and in the end I agreed, > and asked you to merge it renamed to a more generic name > without the lcd1024x600 bit in there. > > I can make it more generic and resend it myself. Do you want me > to squash in the otg changes when I resend it, or shall I keep > those separate ? And about this one: ping ? Thanks & Regards, Hans --- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- a/Documentation/devicetree/bindings/usb/allwinner,sun4i-a10-musb.txt +++ b/Documentation/devicetree/bindings/usb/allwinner,sun4i-a10-musb.txt @@ -12,6 +12,7 @@ Required properties: - phys : phy specifier for the otg phy - phy-names : must be "usb" - dr_mode : Dual-Role mode must be "host" or "otg" + - extcon : extcon specifier for the otg phy Example: @@ -23,5 +24,6 @@ Example: interrupt-names = "mc"; phys = <&usbphy 0>; phy-names = "usb"; + extcon = <&usbphy 0>; status = "disabled"; }; --- a/arch/arm/boot/dts/sun7i-a20.dtsi +++ b/arch/arm/boot/dts/sun7i-a20.dtsi @@ -773,6 +773,7 @@ interrupt-names = "mc"; phys = <&usbphy 0>; phy-names = "usb"; + extcon = <&usbphy 0>; allwinner,sram = <&otg_sram 1>; status = "disabled"; };