From patchwork Mon Dec 10 19:28:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Evan Green X-Patchwork-Id: 10722295 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EF3C61759 for ; Mon, 10 Dec 2018 19:29:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DC9C82A9CE for ; Mon, 10 Dec 2018 19:29:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CAC042A9BB; Mon, 10 Dec 2018 19:29:09 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 710082A9BB for ; Mon, 10 Dec 2018 19:29:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729332AbeLJT3D (ORCPT ); Mon, 10 Dec 2018 14:29:03 -0500 Received: from mail-pf1-f194.google.com ([209.85.210.194]:41454 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729329AbeLJT3B (ORCPT ); Mon, 10 Dec 2018 14:29:01 -0500 Received: by mail-pf1-f194.google.com with SMTP id b7so5868488pfi.8 for ; Mon, 10 Dec 2018 11:29:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=mDpKJVPFIVctgingBaL+8pLspjfVJhTZ7MqaisuyuDE=; b=VCpnFlH4C1CnLladVa5VvpEjml578hiMborkF683xWusR3xapzDb3OUfI4s+DowuNH OIYq+YvWPMAhB2TaBFiJBrXoMyRadgDLGRsPGryBo1cDN2kZarzCN15Bqw1gXCzpk7w7 LoI/XwWqbkPSNhn9JlJ2zogiOY4r4f9gB/lMU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=mDpKJVPFIVctgingBaL+8pLspjfVJhTZ7MqaisuyuDE=; b=LABdtDUJ94Pdv9sG107vCXU/8wo49aTnpYPyw/2+OAfYIHkfQf6dgAQGyvnzNjZcJV m0SQmoLieA9PDacykTyoTyqFXQRVJh1H/gAZiQVwsWw6VKIi9P0+Ig8Y1yx8AuIlq3Kg atTvCeLnvRF0tks1ekEO1zZk2q9naIGUpgpq/pqV52af9JlsZFIr7HkrGBOrA4VwoEps 3bAW0mAANgsaRJfV5OQF3wyzSVSwJkFXE4YtsyXqmegRA2kQ/mSgbeCYk+BCpBik8ami pf2ZmH5MeQEw/wZUjkN0HEf8i9bl1DDcROvHjFjM77Sji6kRSEn/rasE32q5e1V7re3P ZMcw== X-Gm-Message-State: AA+aEWZF/6BCQNan12MxAWiMZ1co40ZJ521BJwxK6AuNYegO+ChIRnMT PTvzSGLJpq3HGxkUt4Zj5VSg3Q== X-Google-Smtp-Source: AFSGD/XHItHnkkv7vn+uPeHL/fQZ3QWixmY7XvJEavjxJ3AeNmTj1OatAtJZuR1/x0Ds0YoC2dOcAA== X-Received: by 2002:a62:1c06:: with SMTP id c6mr13224519pfc.157.1544470141072; Mon, 10 Dec 2018 11:29:01 -0800 (PST) Received: from evgreen2.mtv.corp.google.com ([2620:15c:202:201:ffda:7716:9afc:1301]) by smtp.gmail.com with ESMTPSA id v12sm18318674pgg.41.2018.12.10.11.28.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 10 Dec 2018 11:29:00 -0800 (PST) From: Evan Green To: Andy Gross , Kishon Vijay Abraham I Cc: Douglas Anderson , Stephen Boyd , Evan Green , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , David Brown , Mark Rutland , linux-soc@vger.kernel.org Subject: [PATCH v7 5/5] arm64: dts: qcom: sdm845: Add USB PHY lane two Date: Mon, 10 Dec 2018 11:28:26 -0800 Message-Id: <20181210192826.241350-6-evgreen@chromium.org> X-Mailer: git-send-email 2.18.1 In-Reply-To: <20181210192826.241350-1-evgreen@chromium.org> References: <20181210192826.241350-1-evgreen@chromium.org> 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 Add the second lane registers for the USB PHY, now that the QMP phy bindings have been updated. This way the driver can stop reaching beyond its register region to get at the second lane. Signed-off-by: Evan Green Reviewed-by: Douglas Anderson Reviewed-by: Bjorn Andersson --- Changes in v7: - Rebased on top of phy/next Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: - Removed erroneous fixup for USB UniPro PHY, which is not dual lane (Doug) Changes in v2: None arch/arm64/boot/dts/qcom/sdm845.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 4ad4eaf1d61ce..dcc362b6cf04d 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -1185,10 +1185,12 @@ <&gcc GCC_USB3_PHY_PRIM_BCR>; reset-names = "phy", "common"; - usb_1_ssphy: lane@88e9200 { + usb_1_ssphy: lanes@88e9200 { reg = <0x88e9200 0x128>, <0x88e9400 0x200>, <0x88e9c00 0x218>, + <0x88e9600 0x128>, + <0x88e9800 0x200>, <0x88e9a00 0x100>; #phy-cells = <0>; clocks = <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;