From patchwork Wed Aug 22 17:36:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 10573121 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 446A95A4 for ; Wed, 22 Aug 2018 17:37:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 329142228E for ; Wed, 22 Aug 2018 17:37:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1E0FF2BA31; Wed, 22 Aug 2018 17:37:18 +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 A992C2228E for ; Wed, 22 Aug 2018 17:37:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727468AbeHVVCl (ORCPT ); Wed, 22 Aug 2018 17:02:41 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:40881 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727466AbeHVVCl (ORCPT ); Wed, 22 Aug 2018 17:02:41 -0400 Received: by mail-pf1-f193.google.com with SMTP id s13-v6so1155287pfi.7 for ; Wed, 22 Aug 2018 10:36:53 -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:mime-version :content-transfer-encoding; bh=+spugPRqgpfhmjZxEKOGl/jjF0mkLd8S1ZBGUnl6B4A=; b=jsLBC5Ol6mrqEIT7XinUIxQ2dtRUrW12By0qeRk2S8nUQVMXWqGIrn8QB+tRpcIJN2 /rRCUXJUBCGJDjiL/1pG3bDNwg1LW3d0PEU2/8OleIYhN1VJ+N/YXqWyTqzTzK86Z7Lz IXaUX1Z3WVSkO+U2RKZeBDx1SIcP3+IL8Z65s= 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:mime-version :content-transfer-encoding; bh=+spugPRqgpfhmjZxEKOGl/jjF0mkLd8S1ZBGUnl6B4A=; b=Q5WbiNqXA0v0VzjITjbwbetad7nxhqUkNrOYsNxj6BiGRQadY26vk2sGsbezF2x9OX Xf6wwvRJJdn9iNOIfX7IZJy1CY7UMaxJ8d72vhjQuZJapOVdswVPYpDC3SARrdF1J9LN MWsX35RGSaV83WlHHvCQ6ma/z1hDNGltZ/12Ax9sOQZY67kRVKpoPrFRQ8pX+7/7EdjI zIlxwrjM45+tXlGj++zHbP2omZWRwwRmBmk1ga5mrDIazprFABYmfleVojcpc7u96R89 9NzXRwevRNGxyqPO6LsnqsUM6+YieSnDbACE59qANRcLF8ycB1NC299nZ2REw0dzU3k7 pwMg== X-Gm-Message-State: AOUpUlHxfKV6gb5wisW43nQhJupQiW7QIboFjMToLeIyuhZsxaMv3tsp rTwI3lNA5rKEoUdu0T9c1rSCaw== X-Google-Smtp-Source: AA+uWPyPPRzBlbQ0AaNF8o5Z7P7cwZm+xbvv8Qu0S/LWAXLQ6J1TfGK4Rx3jX36kLhLsn6mexxk73A== X-Received: by 2002:a62:68c3:: with SMTP id d186-v6mr58738159pfc.70.1534959413067; Wed, 22 Aug 2018 10:36:53 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:202:1:c8e0:70d7:4be7:a36]) by smtp.gmail.com with ESMTPSA id s73-v6sm3378439pfi.154.2018.08.22.10.36.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Aug 2018 10:36:52 -0700 (PDT) From: Douglas Anderson To: Andy Gross Cc: Bjorn Andersson , swboyd@chromium.org, tfiga@chromium.org, Manu Gautam , David Collins , Vivek Gautam , Douglas Anderson , 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 v3 0/3] arm64: dts: sdm845: Add RPMh-regulators and usb Date: Wed, 22 Aug 2018 10:36:26 -0700 Message-Id: <20180822173629.202885-1-dianders@chromium.org> X-Mailer: git-send-email 2.18.0.1017.ga543ac7ca45-goog MIME-Version: 1.0 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 This series adds device tree nodes for the RPMh regulators and USB. These patches are based on patches in various downstream kernels from Manu Gautam, David Collins, and Vivek Gautam. This series was tested on SDM845-MTP (with no-AC firmware) atop linuxnext (next-20180822) with some extra patches: From the mailing list: - dts: arm64/sdm845: Add node for arm,mmu-500 https://lkml.kernel.org/r/20180814102740.30222-3-vivek.gautam@codeaurora.org Changes in v3: - Don't just fix qfprom unit address, fix the reg too (Stephen). - Rebased to next-20180822 - Set vin-supply for s4a_1p8 properly (Stephen). - All regulators now HPM / disallow mode change; see commit text. - Added a few extra labels for some regulators. - Updated commit text descriptions. Changes in v2: - Use "0x784000" for qfprom rather than "0x780000" as per docs. - Add calibration for 2nd USB port too - LDO14 initial mode is LPM and shouldn't be always on (Vivek G) - LDO25 should have min voltage of 3.3V Douglas Anderson (2): arm64: dts: qcom: sdm845-mtp: Add RPMh VRM/XOB regulators arm64: dts: qcom: sdm845-mtp: Add nodes for USB Manu Gautam (1): arm64: dts: qcom: sdm845: Add USB-related nodes arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 382 ++++++++++++++++++++++++ arch/arm64/boot/dts/qcom/sdm845.dtsi | 196 ++++++++++++ 2 files changed, 578 insertions(+)