From patchwork Fri Aug 10 21:51:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 10563185 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 6D7E81057 for ; Fri, 10 Aug 2018 21:52:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5F0532B127 for ; Fri, 10 Aug 2018 21:52:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 530E92B191; Fri, 10 Aug 2018 21:52:41 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E48E92B127 for ; Fri, 10 Aug 2018 21:52:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=EUGTNbx4b65fpHFxT3luTEfh8kmKU5u0kprbNKu2+Uw=; b=TECumlJveVg7ps FgCpi9Wc1rHtY+k3U+I/a0V+qHpOdB+eMY+EAuuyT5nIpDHufe4Jw70BqN9tfnUpR3PJFUn/Bjf+T hVUWNWtkx20IkbQHrPUc9l/PgGcCGnkYMkWhBz5a+Ql0DJWz+eQreJ+wNVwC/q3Cpz8aa3lKIoZox ns3SSo1MhpQZRNDAMSDkVUlsOZIMQUA5aVPc5LxTAFp/kjjlK+t11vTi1SwrGtNdaXJ9HQEw2G5hR PJrFWUhS1U3tK7lSTcfRyAjrI+CV9x5HwluE8doS9Zg+/qp9/ShrfI2SAvj1DJvCn1/6HjK2jQlGf ES+u9RyUXtq+6VQ6SmIw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1foFKl-0003fe-Oe; Fri, 10 Aug 2018 21:52:35 +0000 Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1foFKZ-0003UD-G9 for linux-arm-kernel@lists.infradead.org; Fri, 10 Aug 2018 21:52:25 +0000 Received: by mail-pf1-x441.google.com with SMTP id u24-v6so5087051pfn.13 for ; Fri, 10 Aug 2018 14:52:12 -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=VWReRIpm5PIS76GdbrvLCyYzLptqe2h88ASeo/3oSk8=; b=Ubs31n9iQATVkC+wtG44BKB0kryKMyyTHPmasQS3kzOszD7xGBMaqqKP9KYqTrHzkh qB3hpBsFk+ruWfjodLsfPwe0u9q4gavNfQSfkyrsd8kJupYvbHo+oSa6LIASuakkQBIk 66BZ/LWYZJ9Fh737PtzGgE/Iv47cmVSVEgPp4= 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=VWReRIpm5PIS76GdbrvLCyYzLptqe2h88ASeo/3oSk8=; b=XFD+ioa5egK/qqWXZAW0tXfznArGcgCmtV7hF1WEzRwinpCP9qpUI4yGLM/AVJcQ6R bbw5d4NJtooYT+SKfme2D2ehL+29MWfMMvDM4TCN+Yis/fj2w+iHVqruL9cgfBMu7VYz lFeMNf2ibCcx+VB2olObDjOC2Pj80Hki/eteivn6jKtRgb2CFvJbaiOV0ijYhZ76FD+s R2bFwwCjwtupNvZ4L3kwMWH939eFYUmte3m8KediT7Pc8ZVOYc68KrUunC3aFOa1qnq2 uXiXnwcyG1XcRS4KrWO5SJ/tiA6B7cD4FDLIBFdZMuiHwjWE1MvOu31KznIrEplin3Xp eTPg== X-Gm-Message-State: AOUpUlFx/IOdkScaPvoy/XvAYgkZexq3rSndyTyUCMs1+SRw86D442mO wSoOaic3Qwsgs7gtrV/PGYmYqA== X-Google-Smtp-Source: AA+uWPyg+/sVtbe0RyTBjL3PLw0C9FeZjZFQiFs0boyyaZ6MwMzFj9kL8pA+OpEl9ydJw113rKsD+w== X-Received: by 2002:a63:3c0c:: with SMTP id j12-v6mr7903938pga.440.1533937932038; Fri, 10 Aug 2018 14:52:12 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:202:1:c8e0:70d7:4be7:a36]) by smtp.gmail.com with ESMTPSA id g11-v6sm25730102pgi.90.2018.08.10.14.52.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Aug 2018 14:52:11 -0700 (PDT) From: Douglas Anderson To: Andy Gross Subject: [PATCH 0/3] arm64: dts: sdm845: Add RPMh-regulators and usb Date: Fri, 10 Aug 2018 14:51:47 -0700 Message-Id: <20180810215150.82490-1-dianders@chromium.org> X-Mailer: git-send-email 2.18.0.597.ga71716f1ad-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180810_145223_541727_1D8B8C9D X-CRM114-Status: GOOD ( 13.55 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, David Collins , David Brown , linux-arm-msm@vger.kernel.org, Will Deacon , Douglas Anderson , swboyd@chromium.org, Manu Gautam , Rob Herring , Bjorn Andersson , linux-arm-kernel@lists.infradead.org, Vivek Gautam , Catalin Marinas , tfiga@chromium.org, linux-soc@vger.kernel.org, linux-kernel@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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 Andy Gross's current "for-next" branch at commit 76b9e7f947f1 ("Merge tag 'qcom-defconfig-for-4.19' into all-for-4.19") with some extra patches: From mainline: - 87ed1405ef09 ("nvmem: Don't let a NULL cell_id for nvmem_cell_get() crash us") From clk-next: - 9c7e47025a6b ("clk: qcom: clk-rpmh: Add QCOM RPMh clock driver") From regulator/for-next: - 46fc033eba42 ("regulator: add QCOM RPMh regulator driver") - 0db021f7a273 ("regulator: dt-bindings: add QCOM RPMh regulator bindings") From Will Deacon's tree (for-joerg/arm-smmu/updates): - d1e20222d537 ("iommu/arm-smmu: Error out only if not enough context interrupts") From the mailing list (needs to be spun but works OK): - dts: arm64/sdm845: Add node for arm,mmu-500 https://lore.kernel.org/patchwork/patch/964814/ As you can see from the above all the dependencies except the addition of the MMU node have landed so this series should be about ready to land too. If anyone would like to see the tree I used for test, it can be found at: https://chromium.googlesource.com/chromiumos/third_party/kernel/+log/refs/sandbox/dianders/180810-agross-usbv2 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 | 506 ++++++++++++++++++++++++ arch/arm64/boot/dts/qcom/sdm845.dtsi | 196 +++++++++ 2 files changed, 702 insertions(+)