From patchwork Fri Apr 26 17:26:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 286 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id AF63B3F033 for ; Fri, 26 Apr 2019 19:27:46 +0200 (CEST) Received: by mail-pg1-f200.google.com with SMTP id n5sf2490609pgk.9 for ; Fri, 26 Apr 2019 10:27:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1556299665; cv=pass; d=google.com; s=arc-20160816; b=yQPLe+7pN0CFaB/v3BdxB/NxgfA9Uvk6tvbQdZqedTsx/phDoIdppEVpMCOYhiHcXU C1FVzxJaukalpEeF9YYCkPVoSM1Lduxp0wfW/3Z2RZjZyQMZoLtaAyQFCMh9mJ1hyFBA CqPacIf81b0zhqhoB+hHKejzrkKUYsM14aLo0yaN64q0Axv9ds7BlmbBfBESGycKHr3V PCvSxTiA0y9qeWBYPGsgLP5k1OVGOM8X1WXr/mB2woHWNpxztqFqQi8CgE3m0EblMECR p2AyekX4d1ZPDk0sLL6pVu93x35dQBwRDycpSfkTX1eSrp0CAHKy3NgmmrmZFxsQwQyb t3jw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=22MukzyYOAAGZQzTudxaO3jK7Ek7pw7exmp1qPOZFeQ=; b=i0oLiIIb8NowmIK9nZD4dlA6owIW+NrsmM1DBWMiFYTcSbCeqaUH0v5HyX0r/Gc4Xo +v3EL6NeppJ7yWwk0mlpCBxR3PDGiZecCM2lNEzbq5VX8weNs+QG4XJtEjb2MlMJHtyE YgfFbF2pjSyDagTLUGY716Uqmb0KSmV6xygj14c5rDsemvlMujoaKVvGD10iqv5BFCVS qjeKxKo2XcwFALg0g6f0TBm/hEMe0vU3gzqfJge+92fHOqSIepbAx0v0s44dsRJF4K3X znGR6bI44QFqxLORTbEdaQS3m0VbJFVi45M5Rz6/J1+5hcoGU36nEBCFH6T2vkgrfOfk mtMg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=SqeAXw2O; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=22MukzyYOAAGZQzTudxaO3jK7Ek7pw7exmp1qPOZFeQ=; b=GzqctDBACmwETo0DTOG1h+X2QeiSuKdNYayitfN0MYwagQ0hr9DvERXPmoiQV/9zvq zaLlkgYvzIxrchl/ZqZyRDen+zuwWkhzqpm5NXq/mtSzFWp+eJdh3QZluOfDE+p/0pPy z74JoDw4qn/hlXUYR4XVjNd1dEbPHNLpvxOvA= 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:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=22MukzyYOAAGZQzTudxaO3jK7Ek7pw7exmp1qPOZFeQ=; b=gcCTuEz4TnSGmrGZ1HJzI3tdaSvXRFxsaFJoe9MhPZMnzmT571ksV20KmhrWdSkVCP bxmJpWKVIsyMcTK20eK4937Leun6zMznDnQ357aDadACUfJzCiuKxmHQ9v2m019bNvjR w7uoiFME3sk8DVGttOQWr3JnyKy9S7MULhvVQMrGXbmoeJ1NTLdOJ7krFzuEw6gWk1nD +//BVBnOik0S+Q+vPN9LV86yJ7/agv2T3xIln2PJFSh4WlirhjnncpKijHeINE3Tyrq5 6v2SD9CMzB7QV6f7I1g0XdzWCgJP2hf5ZgGQwfKvEV6iorZyc97zhzWOP339OUfyvR2q j4+Q== X-Gm-Message-State: APjAAAUuEiBIXG7yoIKGgpVIxalpYDtk6w48cpTUVhkEneeQ4BQ/0YZQ nfwG5/GqHsm//e7NEGksMEEisg7b X-Google-Smtp-Source: APXvYqwogMpxOcu+8bij6XBigqSVbVb+InXe0cMQqCfWX9jVzYYcfv/MJ+I2gzaHmKrZP+K6kYL5xg== X-Received: by 2002:a65:6655:: with SMTP id z21mr44390737pgv.33.1556299665541; Fri, 26 Apr 2019 10:27:45 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:13:: with SMTP id 19ls6515519pga.11.gmail; Fri, 26 Apr 2019 10:27:45 -0700 (PDT) X-Received: by 2002:a65:5cc8:: with SMTP id b8mr43127837pgt.36.1556299665237; Fri, 26 Apr 2019 10:27:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556299665; cv=none; d=google.com; s=arc-20160816; b=YoSfgnSwmOd20GojdkJXx+ZoSl0N9r8/47OWDMCDyJCBXL2onTpumBNqc3jXQS2YAP KNYGXevMuJWjuQPngz5NQhw/LISpiZUFfCc19Fd626GPofjbvwUr1uM9sjLLqj2gOLw+ txtL07YatV5e2FDL2eqhHQjECx7Tfr9k0AVSG2jOe00tfg/C56k1cheLJBGYa68huPeK Q6g7eOZUApUuIwVfcIGtTr8tcvFWJuaGno+ewQCxmbxI2Hktg6YTi9+M1fRt4Y7Wokf+ XosCa4SlaeyF3dc5hP8/vRuCswwrrwFoz0Nu+zoFgWMmphUTFcZB/YQ8pnr4f2DxJqff H1Uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=d6JHM5/ooTGFq5zs+8Ro6gi/VDxPGLGt5ecNLlHQODg=; b=VvDBoZkizYkj9Esgr5hPIjIGWUcRdJ34w9VXWgAMcjgeqAtAuroUiu3C5aYrX/55dC f17QYM+0RBcGBnkWVC2MLX4C7fWkvLaoT+7xYnnMTqwX54++BIjYuH5bMAh85/TWpyxm HoDXYJBPpM5TPW5Krs/DIFBvhPhCQtax9suO3JZlQh0jyiCw13dL9RpkfPY3WLuzzP/n vbQEvkhHeQLVyzT7pLNcJdojo9vFBlt8OHl8fWrLjjZDSV5bMb+uhhJej2ZJrT9dGeHk PfRjbp9TT83uLL0OPzsFqpYxggar6kZM8ZeOZMQ8MehmG/NdI9lcDkamAC5prdTN2m+E 1lrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=SqeAXw2O; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id d63sor27492612pgc.2.2019.04.26.10.27.45 for (Google Transport Security); Fri, 26 Apr 2019 10:27:45 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a63:fe4e:: with SMTP id x14mr2607592pgj.411.1556299664976; Fri, 26 Apr 2019 10:27:44 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id a129sm40807630pfa.152.2019.04.26.10.27.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Apr 2019 10:27:44 -0700 (PDT) From: Jagan Teki To: Simon Glass , Philipp Tomsich , Kever Yang , Akash Gajjar , Tom Rini , Manivannan Sadhasivam Cc: Paul Kocialkowski , linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, u-boot@lists.denx.de, Jagan Teki Subject: [PATCH v5 08/13] rockchip: dts: rk3399: nanopi4: Use CD pin as RK_FUNC_1 Date: Fri, 26 Apr 2019 22:56:52 +0530 Message-Id: <20190426172653.2930-9-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190426172653.2930-1-jagan@amarulasolutions.com> References: <20190426172653.2930-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=SqeAXw2O; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , sdmmc cd pin is configured as RK_FUNC_GPIO which is wrong and indeed failed to detect the sdcard on the board with below error Card did not respond to voltage select! So, fix it by replacing RK_FUNC_GPIO with RK_FUNC_1 which is already defined in rk3399.dts so make use of same like other boards. Add these changes in -u-boot.dtsi to make Linux sync easy for future changes. Signed-off-by: Jagan Teki --- arch/arm/dts/rk3399-nanopi4-u-boot.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 arch/arm/dts/rk3399-nanopi4-u-boot.dtsi diff --git a/arch/arm/dts/rk3399-nanopi4-u-boot.dtsi b/arch/arm/dts/rk3399-nanopi4-u-boot.dtsi new file mode 100644 index 0000000000..20db99c0b8 --- /dev/null +++ b/arch/arm/dts/rk3399-nanopi4-u-boot.dtsi @@ -0,0 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2019 Jagan Teki + */ + +&sdmmc { + pinctrl-names = "default"; + pinctrl-0 = <&sdmmc_bus4 &sdmmc_clk &sdmmc_cmd &sdmmc_cd>; +};