From patchwork Fri Apr 26 15:49:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 276 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id E64663F089 for ; Fri, 26 Apr 2019 17:51:24 +0200 (CEST) Received: by mail-pf1-f200.google.com with SMTP id f64sf2450913pfb.11 for ; Fri, 26 Apr 2019 08:51:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1556293883; cv=pass; d=google.com; s=arc-20160816; b=lfFEUsacN65A5/vw7ZcvXTdNB5z/1ONF/GYxw+cJbQBQgcdQvyru2ZVmoeaxwh6O4K bCRtDAfiyw8n67dSfw5p0157KRRZzb8XLoW73myw1xnTd8i0Yr5zcG5mctjUbzba0KCz 3Cq5RW+WgTCDPbpskmIz8OtGMU8HadOowlPtjqXLg2ABq9n8dElkA4Jp9Mem1ziRXnn0 gvgD6gQHkE8Y8bqy23RTSJyFUXPDJfxKD8/auN50AH/XK5hGGjIO9FmRg9ungWxlujI+ ubNWOAmJ78zZXemOqr5q7AJZHOK6+TLLI8mqpmiRDgI5w+o5y1KcD81opW5RGncEjhjP Bi7g== 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=xIYN4Yzt1X3wSuJdJBH9lPknwLyMwzbgrUag3Q0xoBEYdls4L1IXUtkAGGSrz/zGVR ChWk5jn66SNQepzrJO+mKdrhcC7NX/JcVwRLbDAP/4cbnNALBs/fhOpokiEMa1VrTyhf oIJgaeCkfkwmH0+1sb7Y8Oa2p2znXuQ+YDdcFI5sr8xjrc/LqBSjo0NKNGEAYf+0CiC/ VjJh6ikRIVfk2KP7ZzcqFVHcLVxQVYrzzRC6vC6IF1zMWmRg1frVCupCxP9ZSpqz//+y YHfd++AqplmXDMQTvVpyJLHJogO9lx5Mob0QudmQiJ4Ys4TZRgslKVgqqGAxslP2rIhz KaQQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=BfHgoKl6; 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=f/Pey6IfqMEieRo8fr9jVMfTD/3TIzmnSHvvX8ucGgErKd7CcODPMR1Vk3egkqAGZ+ 0bJ5kTKrcoSJclZ0qBwDJi2OQb4yllAWCX3TwXTQlyUOpEichVaM248rRFCXafPE6eV8 cNzNI26g0muESFDysSeBlg9Lj6H7NsP5gYsCs= 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=QMc9swuKaIUvvu0HmPETWCDBG/eOW9pST7BKDNK3C0fPErp/YpcFEUARaCAXk5Nnqb mf2hERhvVg/DIY11nmiekI2TFU4AFK1g9kbBRlvRs1BJEqyDvPg6BPQwJos+3xYYobF0 /O/PUoiMXv2PIVo1H8IfMOhNIdU2SqgptkZFTodTj4w6Kd7QabNOJ0V+Hc1XQN2kfOIx ak1nVZvq8lUOsGZpUw7Y1WyDzhqmQXyr1mj4dXygIMpaiqhLWlWxy3pZgxf3odAQye4K aed2UdCczlZGP6WXcOMa3z0JbHi3NWQ45U4BbJqwoGvPM7RqrEwjrdq2qSHhbUVzvERW zH6Q== X-Gm-Message-State: APjAAAVEflXX1vw17ZURQKtH99z2C9JBYmKFMEloZEl+8kUgmwvalfi2 CSAZ4yUi3EB4CgFaG5cTnED2S9Fk X-Google-Smtp-Source: APXvYqzilbL2vfOd5owuJOgdZQpTRsh+iB9TWf/9sYWNNOTS/PwpFMY3yy98u0v3WQXxDzNWkAQfYQ== X-Received: by 2002:a63:fd58:: with SMTP id m24mr20646671pgj.298.1556293883760; Fri, 26 Apr 2019 08:51:23 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:ba86:: with SMTP id k6ls7158067pls.10.gmail; Fri, 26 Apr 2019 08:51:23 -0700 (PDT) X-Received: by 2002:a17:902:bd4b:: with SMTP id b11mr46161521plx.68.1556293883392; Fri, 26 Apr 2019 08:51:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556293883; cv=none; d=google.com; s=arc-20160816; b=mLAG9aXW4flmy2b2VBSu8pAIzGGLvJ9qn/MlNtZFKMYM9zw9ysQUrUNLltXt/8wd1O 5nUASw85NTXyinvX+k4+9qB7oCCKVRkjDWYBA0eDPWKSPj3yEN8H5uCawTrzyZgZ61bs He+ggBePxGJDlRsUO3Zkd0aYP0927hB8JWVtBz6QPG2ppBVSnfl80TgEMyWjjJWUbgki 4IXV9kFyiiNxEp5xoXxMmt6QA6zQquwtGHMQRUZ/cU2LZ8iC8FEiBfdDIX7yEPHoRVem hwLtEIg8UM7jGnTl8BPrUherJBHiupd3ttNgphHVkCanWcMf2d/ANFcUFutu/YheloQ4 3S5w== 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=jBw1nD4OCVnjsVEScbM39s/8tcPiA2y98pTydDC5O6rtvIm40LrXcOdlC6ZwgYk8BS jqk3/J93h2o7xsmE/J3PN68tIJXhl3r71WufINiiNJwKqcrJs7Qritvo56pRnppZu3X1 BH7lD/F5GNLXVyPk57G/dkyJ/anF8emR2eoXQUDaf/iUPpO+akRsKWqjee9Lc/hyhjTh dUnUgJE05bh43yesTsgzjdF0byuHrUMMqfqVXbOV3ek8vRUVFBXRvtilSw3zwoArOlUK NHkgZs6DTVm+czcBA7kQKkXLWoyu7zmECXopW9GrMdobyZ4Z06zrLw/bmKWVPCWzwmLN eG9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=BfHgoKl6; 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 p67sor28658299pfi.63.2019.04.26.08.51.23 for (Google Transport Security); Fri, 26 Apr 2019 08:51:23 -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:a62:2603:: with SMTP id m3mr8891667pfm.232.1556293883132; Fri, 26 Apr 2019 08:51:23 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id e4sm12019017pfn.185.2019.04.26.08.51.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Apr 2019 08:51:22 -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 v4 08/13] rockchip: dts: rk3399: nanopi4: Use CD pin as RK_FUNC_1 Date: Fri, 26 Apr 2019 21:19:55 +0530 Message-Id: <20190426154956.29567-9-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190426154956.29567-1-jagan@amarulasolutions.com> References: <20190426154956.29567-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=BfHgoKl6; 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>; +};