From patchwork Tue Sep 11 02:30:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 10595027 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 6F21A13B8 for ; Tue, 11 Sep 2018 02:34:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5EC6028AA1 for ; Tue, 11 Sep 2018 02:34:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5297228AC3; Tue, 11 Sep 2018 02:34:34 +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,RCVD_IN_DNSWL_NONE 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 814E428AA1 for ; Tue, 11 Sep 2018 02:34:33 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To: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:List-Owner; bh=UVvRO1IdOBfTkWxrVPy+mFwUSmTJ7ojmmWqIQ6Naebg=; b=HUATefjkpXyvPGX4rY443pdrKW iHuWnQXlI/doXu54IIvfFi7ziUjp5WXMidsgtPWRBam/By0O3diBRH/Ew+IW/DuCFug7g00LYHrh2 lVhYZ3ecaWRSOnrlY6eV0km5OYgcZrZREc2l63L8KEVIrt2ELFVhlmegHMHMRIyazqfBQSVoV85sF ki57W+L3WkEftr2Gqcuk6O00y5snbgKQEiQe3NQPKdlMMbwOG8qq5yt3ds+dlzOGpQm8Sc9kpbl3X Beteo1c0BOzELKb1IBgbQ/bJqpOW7d8mLs5cGXV4EccyfI1uN9G3Xwa0zIvEVYgYWWHltP61breuC KqU/2b2g==; 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 1fzYVU-0001qC-Hx; Tue, 11 Sep 2018 02:34:24 +0000 Received: from mail-pg1-x542.google.com ([2607:f8b0:4864:20::542]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fzYSk-0000ed-Sz for linux-rockchip@lists.infradead.org; Tue, 11 Sep 2018 02:31:42 +0000 Received: by mail-pg1-x542.google.com with SMTP id d19-v6so11449853pgv.1 for ; Mon, 10 Sep 2018 19:31:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=DddfjiWU+nwLV/my5PU24VcyaUhmZjI44x/ThHNh0Tk=; b=j+uhfl/U8EPzNC5u4IHMKyxmtgSPMg7Qul3odF16PuqbtGpjjKQTh7Ata8B4PX2iWl hPmlaOtwL4cpzfuqjsndSokrUbYZLD5SvQvBfL6NiuO3uOihzVC4P1yGXj4njHzrx33b v0B8xetQiD6JjR3VKfJgUwt6IxQWVniJ9gWLE= 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:in-reply-to :references; bh=DddfjiWU+nwLV/my5PU24VcyaUhmZjI44x/ThHNh0Tk=; b=mi6RFoZqZx92dt1KxBXY2ydlxR5q37tV3whty3GRBI3CbkXxiet6dzJqTbUk1J2jbC SYzw87GPPWvKAJyleqE5M6hLT5gwqMWBmkXs/PxYaSsDUlH2Dhfr4KPb44BStaKPALIT GYOFklaJlQ/OZqsIuXxGfcI2IZ//aj/z7whcjgn2aDfNNr/g8JE0JmM4KpdYlNPeUjWg f+iZFlOcnn4yFSm1krD1jAMMVyl+aOduK6iTRtOMtOz247tLtyP8pwGP61JZDcVVQLIp BO3HZheoffztTv3o0F+svPt4yAgpwgWcLkZ0MzR1kaPTYoTxBSh0WuEx0VinGs2sWV3E Q1Vg== X-Gm-Message-State: APzg51Dm1MF5W8msiuOqb2pysRegmq9VDJGM/CzW6ldgkBiFh8PJ8OIx gIr/pe002LXBil81OB4ngKBX X-Google-Smtp-Source: ANB0VdY7bxv1OM//e7kEvzNeBNPZAwg9f+WioG0WTzpEb7JHf3MZxrHug1GjgrKpUYSgvNZP+uhZ6Q== X-Received: by 2002:a62:6602:: with SMTP id a2-v6mr27064325pfc.159.1536633083690; Mon, 10 Sep 2018 19:31:23 -0700 (PDT) Received: from localhost.localdomain ([2405:204:7200:d313:f895:c3fd:ee92:ac72]) by smtp.gmail.com with ESMTPSA id y85-v6sm27025893pfa.170.2018.09.10.19.31.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Sep 2018 19:31:23 -0700 (PDT) From: Manivannan Sadhasivam To: heiko@sntech.de, robh+dt@kernel.org Subject: [PATCH v2 4/4] arm64: dts: rockchip: Enable SD card detection for Rock960 boards Date: Tue, 11 Sep 2018 08:00:31 +0530 Message-Id: <20180911023031.4892-5-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180911023031.4892-1-manivannan.sadhasivam@linaro.org> References: <20180911023031.4892-1-manivannan.sadhasivam@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180910_193134_966652_6F49999A X-CRM114-Status: GOOD ( 10.30 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, tom@vamrs.com, amit.kucheria@linaro.org, shawn.lin@rock-chips.com, linux-kernel@vger.kernel.org, vicencb@gmail.com, dev@vamrs.com, linux-rockchip@lists.infradead.org, pbrobinson@gmail.com, Manivannan Sadhasivam , enric.balletbo@collabora.com, ezequiel@collabora.com, stephen@vamrs.com MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP For proper working of SD cards, let's add the Card Detect GPIO property to the common devicetree for Rock960 family boards. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi index 5a5d8e28ef55..f68254831ad9 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi @@ -403,6 +403,7 @@ cap-sd-highspeed; clock-frequency = <100000000>; clock-freq-min-max = <100000 100000000>; + cd-gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; disable-wp; sd-uhs-sdr104; vqmmc-supply = <&vcc_sd>;