From patchwork Wed Oct 24 17:27:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Evan Green X-Patchwork-Id: 10654817 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 3602313B5 for ; Wed, 24 Oct 2018 17:27:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 235D52AD52 for ; Wed, 24 Oct 2018 17:27:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 131572AFD7; Wed, 24 Oct 2018 17:27:58 +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 AA9DA2AD52 for ; Wed, 24 Oct 2018 17:27:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726884AbeJYB4u (ORCPT ); Wed, 24 Oct 2018 21:56:50 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:40621 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726497AbeJYB4u (ORCPT ); Wed, 24 Oct 2018 21:56:50 -0400 Received: by mail-pg1-f195.google.com with SMTP id o14-v6so2643070pgv.7 for ; Wed, 24 Oct 2018 10:27:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id; bh=VUI22asxxpRgfZvx1G8w787XAGBffs85E3H9kHNlSeE=; b=KdxfwXgPV26rtQ8Iop9NIyFf0yk9gQiVXt+fs+fdol0VqrL5/q3MLMgQctzdhRZXWh GRqxYvfWwKlcjCz6GgfJ6+1OoXhK4l9rM3d2SZ6/vh+GpzSOYwxpPApBYZofmdtiEYrB P3uLgxvUySDcZOgE4DdIViCSDOmdHnrbyoaCY= 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; bh=VUI22asxxpRgfZvx1G8w787XAGBffs85E3H9kHNlSeE=; b=LKl4NNwrPtLG6x2nHLPJkLcUFuLpklCgv76FK0C3z/oTcTD52o9I9kvFzd4BqPROy9 Osa2zJCETFEYPOwvHW6VQHA57MREIn/6MwyHV1cvTTLfLF9Ab6FxzHRlYMaFaJIOMdG6 S06oDVq23hbRUjNtJVHPy99FLitFWQx7tLLj/e3YLjqPANqmXN2fDI7YUTpJT2lLqiCw 31VU7b2k5IDq86v9LO5JOb9mUmDo49mHUcMEWi5isrjU4v3OMzyF4bwEH+vh7Pxx6dIp Xdv6wKuHHO8+y4VVC5YkzWeEWRTSvGcYkfOUhv/XqPe0Zi7yGSQw2HHbnwccz1K591gs Cv5g== X-Gm-Message-State: AGRZ1gLHAF+DHRWmwVDKRuxCiOoCuISogPxyhx7LG7YQVSI6wmdvJHt+ f+HwkwNIJR1Y7tQMon7abQC2EA== X-Google-Smtp-Source: AJdET5fn/d2xDopq75ozChr89woQrmw1Nn/epkMiB//MVt/MiUJddLfxTeXsWF33Qj83lp49M73AUw== X-Received: by 2002:aa7:814f:: with SMTP id d15-v6mr3543521pfn.78.1540402076448; Wed, 24 Oct 2018 10:27:56 -0700 (PDT) Received: from evgreen2.mtv.corp.google.com ([2620:15c:202:201:e418:c825:76cf:5f64]) by smtp.gmail.com with ESMTPSA id v185-v6sm5674265pfv.48.2018.10.24.10.27.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 24 Oct 2018 10:27:55 -0700 (PDT) From: Evan Green To: Rob Herring , Andy Gross , Kishon Vijay Abraham I Cc: Douglas Anderson , Stephen Boyd , Evan Green , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, Can Guo , linux-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Vivek Gautam , Manu Gautam , David Brown , Mark Rutland , Rob Herring Subject: [PATCH v4 0/5] arm64: dts: qcom: sdm845: Add UFS DT nodes Date: Wed, 24 Oct 2018 10:27:30 -0700 Message-Id: <20181024172735.154304-1-evgreen@chromium.org> X-Mailer: git-send-email 2.16.4 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 Update the device tree bindings for the QMP PHY to properly specify the registers for dual-lane PHYs. Update the driver to use those new registers. Add the DT nodes for UFS on SDM845 and MTP. Finally, fix up the USB3 PHY on SDM845, which also has a dual-lane phy Changes in v4: - Remove "status" from DT binding example (Rob) Changes in v3: - Removed erroneous fixup for USB UniPro PHY, which is not dual lane (Doug) Changes in v2: - Added dt bindings change, corresponding driver fixup, and USB PHY fixup - Renamed ufsphy to phy (Vivek) - Removed #clock-cells (Vivek) Can Guo (1): arm64: dts: qcom: sdm845: Add UFS nodes for sdm845-mtp Evan Green (4): dt-bindings: phy-qcom-qmp: Fix register underspecification phy: qcom-qmp: Utilize fully-specified DT registers arm64: dts: qcom: sdm845: add UFS controller arm64: dts: qcom: sdm845: Add USB PHY lane two .../devicetree/bindings/phy/qcom-qmp-phy.txt | 70 ++++++++++++++++++--- arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 14 +++++ arch/arm64/boot/dts/qcom/sdm845.dtsi | 71 +++++++++++++++++++++- drivers/phy/qualcomm/phy-qcom-qmp.c | 51 ++++++++++++---- 4 files changed, 184 insertions(+), 22 deletions(-)