From patchwork Sat Jul 2 05:33:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 9210699 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5BD2460890 for ; Sat, 2 Jul 2016 05:33:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 490DF2856C for ; Sat, 2 Jul 2016 05:33:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3D8C1286CA; Sat, 2 Jul 2016 05:33:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CFCB5286CA for ; Sat, 2 Jul 2016 05:33:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751075AbcGBFds (ORCPT ); Sat, 2 Jul 2016 01:33:48 -0400 Received: from mail-pf0-f170.google.com ([209.85.192.170]:35352 "EHLO mail-pf0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751113AbcGBFdg (ORCPT ); Sat, 2 Jul 2016 01:33:36 -0400 Received: by mail-pf0-f170.google.com with SMTP id c2so46067063pfa.2 for ; Fri, 01 Jul 2016 22:33:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=iq6wb6nHR48qyaV8eFBBa6zayPVfRXks4wxCZgkpZZc=; b=ZSUycBFh6pWiIg5p8rwPMRPeDP6wzEKpq65EjPBTeusJurmdbKkeeisXP+Z2IeT88o Jb4uYb9TnugFzrV4nDGX/ONNNSRGUwxN9675A7NGEC1+cL8vLygqPq6ud70mpftJNDp8 US4JmN/pDL6CpYtUgsCF93UyReBU6EIHZ4aoo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=iq6wb6nHR48qyaV8eFBBa6zayPVfRXks4wxCZgkpZZc=; b=fXkTNKua1rdk7/e8LPdR8vmJ4qq4okjATVs96zmqDXtbYbm01NiKsHbp7Gv0q4OXZL 3lscgCVYUmKs/v2eeiOcCELnsVUKDTX+OEcSoN8jppwcBSmBmf6lMveO1FQVgBvr003n qVftsglCTIBDWvwh4PErUhEVACzh0vpvTIoGZaJaVqvm78R4L6q5wouDeaaU0iHKvJVM bCYf5tmjUcoJf+obblyxqP4CPLMhlMwNXoTaig+7ckxmIOFDeyf9u8Y5YpPgm7kf32aP a2IXMETKRaB1ssR6xJWuw0a55BnZoGwCP4y2MLEW0iO7OBDvureNFm2UJRSETFmO+OpN PeEg== X-Gm-Message-State: ALyK8tLEO3r7SSmeIyceh49dI1tr6vjKuWueYGXjJxt3DcEmsNPJVncafH01F7fMfg0Tyld5 X-Received: by 10.98.6.132 with SMTP id 126mr3286520pfg.109.1467437610628; Fri, 01 Jul 2016 22:33:30 -0700 (PDT) Received: from localhost.localdomain (c-73-67-244-238.hsd1.or.comcast.net. [73.67.244.238]) by smtp.gmail.com with ESMTPSA id p63sm1672968pfp.65.2016.07.01.22.33.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 01 Jul 2016 22:33:30 -0700 (PDT) From: John Stultz To: lkml Cc: John Stultz , Rob Herring , Andy Gross , Bjorn Andersson , Stephen Boyd , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH] device-tree: nexus7: Set phy mode to otg instead of host Date: Fri, 1 Jul 2016 22:33:25 -0700 Message-Id: <1467437605-11691-1-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 1.9.1 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP In order to have the usb phy work in gadget mode, override the default host mode with otg mode. This allows gadget mode to work w/o any hacks to the dtsi file. Cc: Rob Herring Cc: Andy Gross Cc: Bjorn Andersson Cc: Stephen Boyd Cc: linux-arm-msm@vger.kernel.org Cc: devicetree@vger.kernel.org Signed-off-by: John Stultz --- arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts index 7b05f07..94e9cbb 100644 --- a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts +++ b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts @@ -253,6 +253,7 @@ vddcx-supply = <&pm8921_s3>; v3p3-supply = <&pm8921_l3>; v1p8-supply = <&pm8921_l4>; + dr_mode = "otg"; }; gadget@12500000 {