From patchwork Thu Sep 19 05:28:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11151571 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4E3AB912 for ; Thu, 19 Sep 2019 05:29:08 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2C49A21848 for ; Thu, 19 Sep 2019 05:29:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="bG6AmRtj"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="CVrhIqzE" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2C49A21848 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=vpBTxNAYbI3+CqUKyr6CZBeWK2FmnRbm2J84zupZaz0=; b=bG6AmRtjGvYC7H CfYkVJ97ao1J8KR0jcOWKmamtFvfh4+ApUn7hZJKQ6vNWTTHT/AQMYxwZ3v7fPzn+t+ZY7aDkGDH9 x/ya12YCImV77KNpdUlei0DeiPI86GsMjJWclHbrat65j8L0Z99D78awI6PZwxA9hAqqRtI5CIt9a Lv9dnVgQkMlt6uqVzhuf8zs1f2IuATvTOegUWsRCBm0UUq0EXagCxw4G6J2rVMRGCtVkFPcAPpcDp fACW3OOhjH11xNClGjRGp0W5ntIoaIUEFahUpPRsTbLri3W6LrM8nbHDFe4V0EZYx5RtdXEqVJ8Zn A2KQ5J+JzG9iDYZAQtrQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iAp07-0005E2-Lk; Thu, 19 Sep 2019 05:29:07 +0000 Received: from mail-pg1-x541.google.com ([2607:f8b0:4864:20::541]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iAozn-0004y0-BJ for linux-arm-kernel@lists.infradead.org; Thu, 19 Sep 2019 05:28:48 +0000 Received: by mail-pg1-x541.google.com with SMTP id n9so1210531pgc.1 for ; Wed, 18 Sep 2019 22:28:47 -0700 (PDT) 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:content-transfer-encoding; bh=XPWIJYAR47Worstin6zW+dVRix1pyzYI/7tlhqwLmcw=; b=CVrhIqzEBP+EyUAVxY2kKenvRSLjM/kDVDi5A1RYbnBpBG+8/E94MY4AM0cLYF1Tsr ylqt/pSWzFvWtpYVq0S/5E6lkJy2n3J0OIU9yfRB58+rgKdE3utAvYu+obSsiTsDUSzs ewuKHkaieM/KaNUCEz+7NmRhdqohxPeCcdy2U= 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:content-transfer-encoding; bh=XPWIJYAR47Worstin6zW+dVRix1pyzYI/7tlhqwLmcw=; b=EeT+B8PFibfMNXcCvCsj+De8O7KU4SA0LwemiyfURaC6jnq9RXGXlgIjzWjKk0mIbk qflGM6BupmO6IwhiKbW1OFYArUY3UUxsqWkL/FUT4IQ4/2SduOsWIEfrTqcxFEh9y4S7 1A5uEOOFN4OJ2Qu3vCO+BLqlWc+0S3RO5eSM0fDdeCqOwiNE9yqhbhgEzpeZPvoAH+4S nxehEK5UHbIZQYmwlQ9TTXIunYdHsm1GGg9yZuQoGY3UtjkbsiG+XNwWz7u5bbBwNRBs JVlgLRTen9ZDjqOJuUQsPWsKmHpd4o5PLSvatYGReWsRG7oUmBJOdmaYFispsuM/z4bF Fcaw== X-Gm-Message-State: APjAAAUMP/lAd7ZIA9p8cAaWvatSJtNzT+Ue9wLfWnsJz5dlroF2ww6T WUigvzfPz4Rj5JWpeFA20IhnDw== X-Google-Smtp-Source: APXvYqzYV9rQ44H/pk5Hsqy5s4BegMtVSBEUWtMyOkGlq4eqULoz1dX+pIF76eOAQ8TcrjSoiDL+Ew== X-Received: by 2002:a63:5fcf:: with SMTP id t198mr7340060pgb.270.1568870926501; Wed, 18 Sep 2019 22:28:46 -0700 (PDT) Received: from localhost.localdomain ([49.206.200.127]) by smtp.gmail.com with ESMTPSA id z20sm5051930pjn.12.2019.09.18.22.28.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Sep 2019 22:28:46 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Levin Du , Akash Gajjar , Rob Herring , Mark Rutland Subject: [PATCH 1/6] arm64: dts: rockchip: Fix rk3399-roc-pc pwm2 pin Date: Thu, 19 Sep 2019 10:58:17 +0530 Message-Id: <20190919052822.10403-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190919052822.10403-1-jagan@amarulasolutions.com> References: <20190919052822.10403-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190918_222847_389454_144F1A34 X-CRM114-Status: GOOD ( 11.60 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:541 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Jagan Teki , Da Xue , linux-amarula@amarulasolutions.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org ROC-PC is not able to boot linux console if PWM2_d is unattached to any pinctrl logic. To be precise the linux boot hang with last logs as, ... ..... [ 0.003367] Console: colour dummy device 80x25 [ 0.003788] printk: console [tty0] enabled [ 0.004178] printk: bootconsole [uart8250] disabled In ROC-PC the PWM2_d pin is connected to LOG_DVS_PWM of VDD_LOG. So, for normal working operations this needs to active and pull-down. This patch fix, by attaching pinctrl active and pull-down the pwm2. Signed-off-by: Jagan Teki --- arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dts b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dts index 19f7732d728c..c53f3d571620 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dts @@ -548,6 +548,8 @@ }; &pwm2 { + pinctrl-names = "active"; + pinctrl-0 = <&pwm2_pin_pull_down>; status = "okay"; };