From patchwork Mon Sep 10 15:13:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 146342 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp2608131ljw; Mon, 10 Sep 2018 08:14:52 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYtyDxCjnyI7l83n3uL6Pb2MVTKNX6wzwjh3IbDQD/9MRZ0m0rBGBJr1gjEkaYyETsYsx+4 X-Received: by 2002:a17:902:bb08:: with SMTP id l8-v6mr16473787pls.71.1536592492795; Mon, 10 Sep 2018 08:14:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536592492; cv=none; d=google.com; s=arc-20160816; b=MUffWrKJPtYqfS+O+5eDCPsajRB1WJRQZqAwbi+mray4DCN+TC/a5R8Rq3pWTTFsPe COl/8cHSVZdH56BkGF+qPzMy0ovnWEz7HIFhr36g55do6n0fiLxZ9N8KzEX/o+ZoBrrz Ys4leLU+4xxKhlLmJ4lOnm33ko++ahL1gEbgyTLFHxGI9uXCA6ITP1UwHVbphbVMCvKU DZtpI6+kdoi5WST6JsClTtEHP10AHg7Tcm2+u2lV1hYnZFeoZbc/G1LgNT1HMYjOi0Yb iRhhEQZkmNllBXp1ganb9clYkuqkNwfAw1gd7Fdradm8rdHzV1d2BVSjkFr+n1RuRNBY zRbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=DddfjiWU+nwLV/my5PU24VcyaUhmZjI44x/ThHNh0Tk=; b=DV3mQGxDvroYQXhwucspF6cJUDo6TlSHT+oW3u0oSKN7Sh/tr4UyijZzVWeXn2GLBc 6MGyn4Nw2xhaGyV6tnUAJBOESB8q/8z9kIArEFlIXo1wn29jNp6NGmFOrWmM2Mi/xWS1 uJEiz2bBVP+6gTel1YU417FSqZgwq55IVVwqj3eBtv9uMEu50KEudcLZUIeuVYcsc9F4 Jmr4ygH9RJjtfH/XVMmocBNapvCvO1BpC+XEqfnICpwAmt9VMJkzDcZfmPG4zSh6mxyY 731uWCRYqTSsYGMbr5628mXsmUHcPiMq5Ar7xlozURczTLDWAZSc52As0riR3IVT6ayB Tamw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PWevnr2L; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q1-v6si18600009pfj.149.2018.09.10.08.14.52; Mon, 10 Sep 2018 08:14:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PWevnr2L; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728531AbeIJUJZ (ORCPT + 6 others); Mon, 10 Sep 2018 16:09:25 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:38593 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728029AbeIJUJZ (ORCPT ); Mon, 10 Sep 2018 16:09:25 -0400 Received: by mail-pg1-f194.google.com with SMTP id t84-v6so8790793pgb.5 for ; Mon, 10 Sep 2018 08:14:51 -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=PWevnr2Lpw/bnA0HESa9iyVkClbxsJOYPlhP7AmMwy9a6c7eqqnS4kcFuumWD8eDqu 5TyPbARtJMbdmXcn+ZyEocjr/nOC+pLcQKBFUQPkfOwz8jVZ5fKgUmR0hiIx0crIxFFy 0qfls7qARHP7wRbThv1DW/l1pDMx20fE2zYwQ= 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=meMSwUZBv+0wupOOxTuUsLL6Of5uQngFZIcSI2/hdTk7HO4nJbGJNhxAQjhoopQvLA B7wvOi4OXK6Y+zHJeBhtQNbV9O3hEjTQyrKZlcN8LBAu1m4+Xzeiy0weZ1bZPJVF3vpw g+nDY/ZAJfYpySnOMaAsZoyuHb9iZDdcbHIB3BlBqe3KEBXv0jNrvBJ9LEa5EK77hdE4 okzIvpHRjNMBRjavQuOg3C7pByQWmde/znh41hAkUPTDwLKO+5pIW6U9mCTb5MJgpTOP YyNwg2pDkg+VK8r86QAlr9zgk7EomXlwpSztdFSFQlx/Ax3qgNtxMYFIRg9ZXbCGGPqZ JgDw== X-Gm-Message-State: APzg51DV2d86xku+hQNzBHk4Rq78GGU/gc+mcOdhaoW0d6msdlk2/QRQ c/h0sCB0GOOrV8dBHuNquNTR X-Received: by 2002:a65:608b:: with SMTP id t11-v6mr23620131pgu.259.1536592491302; Mon, 10 Sep 2018 08:14:51 -0700 (PDT) Received: from localhost.localdomain ([2405:204:728c:6bba:60a8:6c40:2817:7ee1]) by smtp.gmail.com with ESMTPSA id e202-v6sm26703907pfh.16.2018.09.10.08.14.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Sep 2018 08:14:50 -0700 (PDT) From: Manivannan Sadhasivam To: heiko@sntech.de, robh+dt@kernel.org Cc: vicencb@gmail.com, shawn.lin@rock-chips.com, ezequiel@collabora.com, enric.balletbo@collabora.com, pbrobinson@gmail.com, tom@vamrs.com, dev@vamrs.com, stephen@vamrs.com, amit.kucheria@linaro.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH 4/4] arm64: dts: rockchip: Enable SD card detection for Rock960 boards Date: Mon, 10 Sep 2018 20:43:56 +0530 Message-Id: <20180910151356.25946-5-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180910151356.25946-1-manivannan.sadhasivam@linaro.org> References: <20180910151356.25946-1-manivannan.sadhasivam@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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(+) -- 2.17.1 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>;