From patchwork Thu Dec 6 18:45:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Evan Green X-Patchwork-Id: 10716633 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 29F4B109C for ; Thu, 6 Dec 2018 18:45:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 18DD12ECBF for ; Thu, 6 Dec 2018 18:45:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0D0D02EE64; Thu, 6 Dec 2018 18:45: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 B0D742ECBF for ; Thu, 6 Dec 2018 18:45:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725966AbeLFSpf (ORCPT ); Thu, 6 Dec 2018 13:45:35 -0500 Received: from mail-pl1-f194.google.com ([209.85.214.194]:33144 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725936AbeLFSpf (ORCPT ); Thu, 6 Dec 2018 13:45:35 -0500 Received: by mail-pl1-f194.google.com with SMTP id z23so579232plo.0 for ; Thu, 06 Dec 2018 10:45:35 -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=Epun9c8q/ahOAgKAIMefQh9iFCZvdlNc3VcFQulde3A=; b=bUFIzjCH/zfeMqMKiZesusfqXA0gtaQ0FqwT75tezT9FI1uYSbq6c8wu2+Ds2kPr+I mnk757WznBYuQ3RH1wtc73RdZVc+Io4b88RVX00j1VJgBfENSq76rrz7EBaILghp4/mi AknLKbnZKRKMWxQsCwFOyLvMQVspkmBNuX3Fw= 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=Epun9c8q/ahOAgKAIMefQh9iFCZvdlNc3VcFQulde3A=; b=UWI9g2/QXPdq1aDwDUOFjhDaU9OXjPwyXrZzB0duehQy7JXKqAbhqXd4Woi9NowArp HV0azZuYg8CbxNGfUDIYHwGJtAi6tm5OZr9XUXejSbnZxF/fU97rdN782vLTurM3RVQC 89oJfPwfWxCEoa3Aa1x1u/kNyB1bdywvTwDTnHk4BpOqJThmn/nKH95rEp9foUcirxHk +hlymDVb3/w2ic3mp1RpCKOON8BCUDr/CRzR8OEBptj5XDtgDt6/CmCO1ayZsP0FunQZ 9JLit+pF6nDrAiynygjpn1NVD2CXQMwIcxWzdE1bXYv/ippKyMHDKcNGeSsUqjsJ/rh3 D3mg== X-Gm-Message-State: AA+aEWYCM8ZzQPJCiC0IpwNcz50rAE2U/KLXsnZRQ5OSbE4OPVHA7DiY 9WmG7lRmqlRdBZQP1wbI4RvY4A== X-Google-Smtp-Source: AFSGD/VUbGFf5vHDQ2RoklBdn8mJ0RQVJzbLV5ouJr2WyYDF4RQ9I5nbeNhtUOaxW1OEUVelIrCphw== X-Received: by 2002:a17:902:6502:: with SMTP id b2mr28811506plk.44.1544121934719; Thu, 06 Dec 2018 10:45:34 -0800 (PST) Received: from evgreen2.mtv.corp.google.com ([2620:15c:202:201:ffda:7716:9afc:1301]) by smtp.gmail.com with ESMTPSA id v89sm1458476pfk.12.2018.12.06.10.45.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 06 Dec 2018 10:45:33 -0800 (PST) From: Evan Green To: Andy Gross , Rob Herring , Bjorn Andersson Cc: Douglas Anderson , Evan Green , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, David Brown , Mark Rutland , Ulf Hansson Subject: [PATCH v2 0/3] arm64: dts: qcom: sdm845: Add SD nodes Date: Thu, 6 Dec 2018 10:45:19 -0800 Message-Id: <20181206184522.118062-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 This series adds the nodes for one of the two SD host controllers on SDM845, and wires it up on the MTP. Though I tested similar changes on another board, I was unable to actually run this on an MTP. If someone felt like trying this out on an MTP I would be grateful. The original downstream nodes had sleep pinctrl states. It's not obvious to me that all this messing with drive-strength saves non-negligible amounts of power, so I didn't add them and figured we could add them later if needed. Changes in v2: - Reworded commit message to note that there are multiple SD controllers. - Fixed alphabetization of node placement in sdm845-mtp.dtsi (Doug) - Fixed card detect name to match schematics (Doug). - Moved comment about drive strength next to the drive-strength entry (Doug) - Removed drive-strength from card detect input pin (Doug). - Consolidated tlmm nodes in MTP. Evan Green (3): dt-bindings: mmc: sdhci-msm: Clarify register requirements arm64: dts: qcom: sdm845: Add SD node arm64: dts: qcom: sdm845: Add SD nodes for sdm845-mtp .../devicetree/bindings/mmc/sdhci-msm.txt | 2 +- arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 58 ++++++++++++++++++- arch/arm64/boot/dts/qcom/sdm845.dtsi | 15 +++++ 3 files changed, 72 insertions(+), 3 deletions(-)