Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp243260iob; Mon, 2 May 2022 18:18:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwrWUGV8dQvVASW8vNk/Z+9YJ4cTu0rSK5CtFo98/NdfdRWw8sPzROn8qBAaILZkfXl0O0G X-Received: by 2002:a17:903:1205:b0:15e:8cbc:fd2b with SMTP id l5-20020a170903120500b0015e8cbcfd2bmr14176024plh.99.1651540685669; Mon, 02 May 2022 18:18:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651540685; cv=none; d=google.com; s=arc-20160816; b=e5JYTNblEKbJ+As0Ytx8Hk/rL8CSOP6Tvtibo9Qds2dZwvShZ9SXFmFe78KECXTm7S HHrIyn7R7O3cqqd72gO8HB9VedP5aJpOq+O4MQyYT/sIFrb4uk7oqM+x9RkzrwdxMxDE zL0o/LSAKkuliGZr5twVYRp2BjiOGoHT83g1FbiUHERbDo6+A+h99MzPbRisJBAA8SSk CfXo1FQx/umEHE/cwgEH8uHsleJ2gWRnmrIMgCPPGi/RQbphnH0G5mFS4NYS2ZPZi0nr klDSNgUJ875rPxXpwA9DkAJx+b23vRzpH7sw9Wx3f4DFQ4hWWfCy7Ro+U481mp4jlqjE 3zaA== 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; bh=x0yj9tz7VLQw3ii+jY07NchQOjMqql8t/3tZluJSY5Y=; b=roKMfEDSbEBcv8f/y6UaPX0tVtza/IRywC9wvnvs/oi/Ni6gBlYaFRdYGPmeIHSPgj GLNamNYbeMCK3lFQL+UCKp5CQRRBdhZcGVot1lDjI94kDA7OquQUbYWx9FNe5mM1EWkC 4W9kfZNuFvdvFqQP27K4ajzhrO6GzWUwuHND1FZjBjhWLljUW0+2PpbMyp+oZPeN6YVy T6/6GRpWgAFI4tphPVHQtYWuYVHAmykHK5ulE3USCgYrXNkhLnbO3E8Hn9W4651WYYen +hgjlDp10DL7fKJGIY8aTsvKv1rweFOagKX1fKcbwfcxyyRrTYnQqLZhu3b8ue/xtN+N rRTQ== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id h27-20020a63575b000000b003a7dce158b1si15453489pgm.841.2022.05.02.18.18.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 18:18:05 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5624A527EF; Mon, 2 May 2022 17:57:40 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1380043AbiD3OJe (ORCPT + 99 others); Sat, 30 Apr 2022 10:09:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242280AbiD3OJ0 (ORCPT ); Sat, 30 Apr 2022 10:09:26 -0400 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DEE76620E; Sat, 30 Apr 2022 07:06:04 -0700 (PDT) Received: from wf0416.dip.tu-dresden.de ([141.76.181.160] helo=phil.dip.tu-dresden.de) by gloria.sntech.de with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nknjS-0001Wl-MA; Sat, 30 Apr 2022 16:05:58 +0200 From: Heiko Stuebner To: linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Linus Walleij , linux-gpio@vger.kernel.org, Caleb Connolly , Bartosz Golaszewski , Rob Herring , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Cc: Heiko Stuebner , Arnaud Ferraris , ~postmarketos/upstreaming@lists.sr.ht, martijn@brixit.nl Subject: Re: (subset) [PATCH 0/4] rockchip: support configuring pins as input Date: Sat, 30 Apr 2022 16:05:52 +0200 Message-Id: <165132754299.647302.2972320978462383968.b4-ty@sntech.de> 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-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 On Mon, 28 Mar 2022 01:50:01 +0100, Caleb Connolly wrote: > Add support for configuring pins as input to the rockchip pinctrl > driver. This is required for example for devices which use non-standard > configurations for gpio interrupts, specifically for the light/proximity > sensor on the RK3399 powered PinePhone Pro (which will be coming > upstream in a future patch series). > > Due to the complicated layout of the RK pinctrl/gpio drivers, some extra > work is required to handle deferring the GPIO configuration. On RK3399 > the pinctrl driver always probes before the GPIO controller driver, so > the PIN_CONFIG_OUTPUT and PIN_CONFIG_INPUT_ENABLE params both have to be > deferred, this series also reworks the deferred pin handling to be > generic and support any param rather than only the PIN_CONFIG_OUTPUT > param. Applied, thanks! [4/4] arm64: dts: rockchip: rk3399: add an input enable pinconf commit: ec48c3e82ca36a66ae37ba8b1fdb9a7561dcab14 Best regards, -- Heiko Stuebner