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: 146388 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp3140089ljw; Mon, 10 Sep 2018 19:31:27 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYo1UECnQxTzK/wEpSTpTcPV7eMMzAgE0+e+vnS+itmXc9mobIQC4crz8wcMc5pWXWsnqcl X-Received: by 2002:a65:5307:: with SMTP id m7-v6mr25299817pgq.431.1536633086845; Mon, 10 Sep 2018 19:31:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536633086; cv=none; d=google.com; s=arc-20160816; b=O9ENu1xVMFBS2ZZ61+prYeycxU/oZ0TilY+3FTmRMfQQWZv4jKCYqGQsdteyCjWpjf vULoCnJ9LS+UpPh4fp0EXeS49Kw+Fes/la8xz6r05peeD9RXBAtP2b8ODvYxQfwsG2Cw 6wlGjKSMCfjh0ZiAvrf2eMpY+qNCap1N9f09C2WXpo+yr8NS+jnnECLEFnQGUSbhzMo/ Jby7f7BErvF+pa9KOcIWQ5iPd8Zk94F0UGMKHsP/8DNs0aCKAb9UWvILfoaq6jL92uyk HmTRsWAHfkrz2vIgfzLPzYbHU6nlu3hZXEx3zMgClu/mw3w8Fgg22yUxLAS1jjnvUd0h r/+Q== 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=HMryacnwODyMmLqhsd60JT0eySkB1/DrHKjD1aAyNa6UxQ9A2cr7Wt30EGwBPXTGCR MSccrVsqO4uRSdKM0+7ZCg96IDx6inf69wEYoEayocIaVMFzFwHFze07KeHdiBWhpb4S HgZEHh6mo/ZlVNQdPId0nCeAaORqIlQsz4T1kY6bVDRBdlXRfs3BoZogF8NQhTDO0NGb bwm5TyGMdEXlNtCgKbwsT9yhNWcPaTae5yXnlMegUpggR48z8YkWuDdEsmVNr+5loWQp zalHHh9ljJUHCZmroQe+x9o/XG70O2T8q1SKx5ORAKgpECkASrqDvkB2fPDMANTqAIdn p8lA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="j+uhfl/U"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 d34-v6si18109998pld.301.2018.09.10.19.31.26; Mon, 10 Sep 2018 19:31:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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="j+uhfl/U"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1727153AbeIKH2V (ORCPT + 32 others); Tue, 11 Sep 2018 03:28:21 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:46846 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726722AbeIKH2V (ORCPT ); Tue, 11 Sep 2018 03:28:21 -0400 Received: by mail-pg1-f193.google.com with SMTP id b129-v6so11414566pga.13 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=hZovXl6YvvqfkSuCU5WahTRs2VF/G4PfM40u1su9IBns73b95wbnLtKsmOmWvV4Wwr 8+QrSm1fWEcZswqYKwWwYy7q/Byiut7t6zZqewsWfKudONW8vEDJWuhOtMz68d180Q0H G0sruHWsYTC1UCrvmmN0KQnBsRyTLVnZh+Ly5kBOyscp6mpsRSNy8xfCXh0cLR8qdR+4 +oI6PDv6lEdEaqLlvHPr+rnLkYxe+vsWdvqD0SfHjIIeNimLIIdEvVdCqOlv8xdUeG1O LZgrnE4qiYJpW2bGpgI8jFMCQStEU363Y2Y/GWKvhFD79weOhCuMQXOYl34OiNmY7AQi eXdg== X-Gm-Message-State: APzg51DMG8zWjoi4IWEmpg1CZ+mpyirphJZZt6cSJ12h7dAkbx0j2Ptb BkfC9YMr2hAltDOWmO6nKbPQ 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 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 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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>;