From patchwork Mon Dec 10 19:28:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Evan Green X-Patchwork-Id: 10722293 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 6A56B91E for ; Mon, 10 Dec 2018 19:28:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B4E8E2A795 for ; Mon, 10 Dec 2018 19:28:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A7CF32A7B7; Mon, 10 Dec 2018 19:28:45 +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 3173F2A795 for ; Mon, 10 Dec 2018 19:28:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728732AbeLJT2o (ORCPT ); Mon, 10 Dec 2018 14:28:44 -0500 Received: from mail-pl1-f196.google.com ([209.85.214.196]:44217 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727875AbeLJT2o (ORCPT ); Mon, 10 Dec 2018 14:28:44 -0500 Received: by mail-pl1-f196.google.com with SMTP id k8so5691356pls.11 for ; Mon, 10 Dec 2018 11:28:44 -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; bh=l5AKnUQBXLPWGgnje1Oil3e8pmxzfoPRu57CIxFYBQc=; b=iKh6TQEZKyyzuVYhEKFXoYqoqrrW5po11MGD6tJezfDOaKCjx3v9VduoKFAPCu15Jm hXp9M4mxlqGPFNQGfZjTnwrV7WvZ0aNxh3BYlRGNljjgXgLkE57Vocf9nO4APF0VNxUJ zwPJcrL15NwsB6bJS1jXOaoEPmnmbsZiP+eO4= 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=l5AKnUQBXLPWGgnje1Oil3e8pmxzfoPRu57CIxFYBQc=; b=XqTp3Yx5L4dcp5jU6V1EDuGZPgjIBtY12Ske7sNG5/bu3kMbDgIV6tEr8tCF2Gp2IE SDNsCMKbCDpWaaTH3ybQrlStePyNJDjR9ShhXzeH7eAA4KburomyCaiti3ORnjBe31A1 QMmDy1aJY4HvKEFHSIocxMBstgyTua0jG2rfKAXu9plDQ5DLgbVb3R37BZVGhIkohMZw oUHj8acIhUNruVxDgfKrqXiz4Pjj1wkZGPTnYc9Fb5aoQg8CzFo/ck8iZpWm0F3b1Ksp WmZfMuzGtMr7Rr8D1sTe74h2l7zprVzoZqy0h+p/jk3PItumE0cJSnqrfqpBq6OI6SjY ZhVQ== X-Gm-Message-State: AA+aEWbi227xTVW+uQbXuYh5H8GWe5uKkiK7sdSpMrrQzjcMRmKF3EsK yQX5xKcaMBzBGbc1yOJ0z/HVrQ== X-Google-Smtp-Source: AFSGD/Xkt34EG5garvEmEt06te0ShUc1nNA8fB4WYH0KSRnaCwrFc6XJv1bz5bdQGPrnztOVIahVsQ== X-Received: by 2002:a17:902:850c:: with SMTP id bj12mr12970386plb.46.1544470123628; Mon, 10 Dec 2018 11:28:43 -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.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 10 Dec 2018 11:28:42 -0800 (PST) From: Evan Green To: Andy Gross , Kishon Vijay Abraham I Cc: Douglas Anderson , Stephen Boyd , Evan Green , devicetree@vger.kernel.org, Grygorii Strashko , Rob Herring , linux-arm-msm@vger.kernel.org, Can Guo , linux-kernel@vger.kernel.org, Vivek Gautam , Manu Gautam , Rob Herring , David Brown , Mark Rutland , linux-soc@vger.kernel.org Subject: [PATCH v7 0/5] arm64: dts: qcom: sdm845: Add UFS DT nodes Date: Mon, 10 Dec 2018 11:28:21 -0800 Message-Id: <20181210192826.241350-1-evgreen@chromium.org> X-Mailer: git-send-email 2.18.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 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 This series is now based on phy/next, and given that the changes stack, I guess that means Kishon will take the whole thing? Changes in v7: - Rebased on top of phy/next Changes in v6: - Removed resets and reset-names (Bjorn) - Renamed nodes (Bjorn) - Fix renamed nodes in MTP (Bjorn) Changes in v5: - Fix incorrect register value in example, copied from real life! 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 | 69 +++++++++++++++++-- arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 14 ++++ arch/arm64/boot/dts/qcom/sdm845.dtsi | 68 +++++++++++++++++- drivers/phy/qualcomm/phy-qcom-qmp.c | 51 ++++++++++---- 4 files changed, 181 insertions(+), 21 deletions(-)