Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp4839436pxb; Mon, 28 Mar 2022 04:23:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzkYcq2Yjd1kOC6V+g+cBzyr0LhjGYaYXPqB/w9stTq07ejtF2zCg/G9nYCziTUJRmin5kv X-Received: by 2002:a17:907:72c5:b0:6d6:e749:da41 with SMTP id du5-20020a17090772c500b006d6e749da41mr27902476ejc.591.1648466585095; Mon, 28 Mar 2022 04:23:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648466585; cv=none; d=google.com; s=arc-20160816; b=IPq7y+BQ16NIYd7QSvP8UJ0Anvq1MjeI3++rhmDceLjU9mUFbpuIB8N7glQlC6iW54 zf5NTQeEhzvnVM14sbTzirKU4SUcoW/LDCxAFO8jSdg2b5Ykc8CcL3rVKJVuWfEJ4/ls z7TV1Heyo9FRhBr4vrzIfBQtu3GMtnEejYuTDZs0M1WSM+YgySlWgG5hgHHmZgk+cYyY qmlxh65PiBm1P0K/vNznvhG5eYz4l/bwYeFBeAyTaMOmMeKad0m3K8biDvxPQxHMe2JL 9vCAYDAKCYBjIXuU3W2G9VphbPKIQ4J1Jo9uCikOfUeCOTP0BwfF/of6M4n1/9ejcwoa KBGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=EGfRjZnta91pDqb00FS0IyJHpRVsoSTogbe12bpoSb4=; b=GuliXklCl6n48O6jd1ldsLxI8QkXuMJVxWeR7iOCgFPo4ALNt98MJQrJiLa5Vt+3pV rL4gnHCZSN4+pve70Lzna4ToDPY5lDB5rdE+7tTkqGnPjJCdauT4+UljgMCZhD9xOtUF JCmY4bLQmvLLf+fsJ8n9osC2+8uMUD6jp1e94GKoMtsn/m5+7ptF77enPcqH7AH0S6iI 1hnMg/Y+XMykex3175H3mmrCws5zbrZA3iwHvinfnFHTpnYWONPZWR46RfFC/R9o7Lzv rJ2zotR/wzEEzxJ+aqRMcUAyINeqlJKvGIa9B8HaSNW30/ou8QEUWPttq1Ji8k1wi6h2 jITg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@postmarketos.org header.s=donut header.b=X2zG46B5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u16-20020a056402065000b0041962abfa3fsi12722704edx.387.2022.03.28.04.22.39; Mon, 28 Mar 2022 04:23:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@postmarketos.org header.s=donut header.b=X2zG46B5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237235AbiC1BCg (ORCPT + 99 others); Sun, 27 Mar 2022 21:02:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237190AbiC1BCb (ORCPT ); Sun, 27 Mar 2022 21:02:31 -0400 Received: from proxmox1.postmarketos.org (proxmox1.postmarketos.org [213.239.216.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AC2424ECDC; Sun, 27 Mar 2022 18:00:50 -0700 (PDT) Received: from localhost.localdomain (cpc78119-cwma10-2-0-cust590.7-3.cable.virginm.net [81.96.50.79]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by proxmox1.postmarketos.org (Postfix) with ESMTPSA id 627B4140197; Mon, 28 Mar 2022 00:50:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=donut; t=1648428630; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=EGfRjZnta91pDqb00FS0IyJHpRVsoSTogbe12bpoSb4=; b=X2zG46B5pNwGoT2nQfsdZaf9YtNrhXf8GJcEiWdevtF2Cm6PHVN0aslA0XeQHeQsnXffpP 4zkZbszn7nISfJH8uRfhYZzXd0xZvY/eliL/ukQjDWcLR7igIDsWkSD0QOynje6lLG/y0n yp2Q+GNFhUsOWbUasS1mqbuZYZfeYUM= From: Caleb Connolly To: Caleb Connolly , Rob Herring , Heiko Stuebner , Linus Walleij , Bartosz Golaszewski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, martijn@brixit.nl, Arnaud Ferraris Subject: [PATCH 4/4] arm64: dts: rockchip: rk3399: add an input enable pinconf Date: Mon, 28 Mar 2022 01:50:05 +0100 Message-Id: <20220328005005.72492-5-kc@postmarketos.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220328005005.72492-1-kc@postmarketos.org> References: <20220328005005.72492-1-kc@postmarketos.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a pinconf to configure pins as input-enable. Signed-off-by: Caleb Connolly --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 080457a68e3c..9b111bd89f0a 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -2188,6 +2188,22 @@ pcfg_output_low: pcfg-output-low { output-low; }; + pcfg_input_enable: pcfg-input-enable { + input-enable; + }; + + pcfg_input_pull_up: pcfg-input-pull-up { + input-enable; + bias-pull-up; + drive-strength = <2>; + }; + + pcfg_input_pull_down: pcfg-input-pull-down { + input-enable; + bias-pull-down; + drive-strength = <2>; + }; + clock { clk_32k: clk-32k { rockchip,pins = <0 RK_PA0 2 &pcfg_pull_none>; -- 2.35.1