From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ECCA5C433EF for ; Fri, 17 Sep 2021 23:38:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D33BC61130 for ; Fri, 17 Sep 2021 23:38:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231820AbhIQXjo (ORCPT ); Fri, 17 Sep 2021 19:39:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231543AbhIQXjo (ORCPT ); Fri, 17 Sep 2021 19:39:44 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90FB1C061757 for ; Fri, 17 Sep 2021 16:38:21 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id c8so39196250lfi.3 for ; Fri, 17 Sep 2021 16:38:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=KeHzeB7io94eA/ZJSHL1lXdfmPLUOLShSlChdwb/4UM=; b=dy9OzlFOrhnl1DS8/X+L7nE1kMFKgnlxfciOEhe+x+cltD1TM7SnASV0vjMxXR/urJ kIkBxfeK5sxCQgMft8Yyfukwk5oiWkXaZVJzhT0fhd4TdKGiDkPn/M7WUZkjn8dIH2cK sCGAXski8FM3PPJ0AsCsv7dSz8+bad5pHjO2gPuYTY8kwb6dAvj6HRvj1Z3HWi7eN9u+ C5aOzaMx7T9W6JVKIifyQEGb8tHMb2R2Y5aGafrOp4Biu6oWNeZTAxtLM2fdWh5kx2l1 bUd1fQfkYn7tmjFQWZ4gp3ARCgd7YoLuubNMaNgsjcTE8KD3mEneFcX4pktxKupTJ9FZ d0XQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KeHzeB7io94eA/ZJSHL1lXdfmPLUOLShSlChdwb/4UM=; b=E2SVylUPPS+AiyVpZxecKy0+cgsfloZmV3MBwU6gU5HWtT2zuV0MNfgKE5ZS3Etg7g XycpCDsxVcrMOaVloOELfedx504Zx1A70bESb+f+feMUQAnpRl+mAA582PIVlr3lGt54 YA9Bn+pcmf6Y+Rx6qUslNWK8iCFnkZ6K/KlLSDzi86A57xtDU5Ae6xNd8ZmM8clXgnFU tXU83DS3c4dvO/bmxqZ73p8u4zfSSgPdf8hNNsc8XrW/dvpOyQu0ObnIrWcdViDkJ5ju URlIrfXLF6EdPJL1ldBg3uW7WPVBXRi4Vd5XC2R7EZWeCfgJX6gX0ig3yBIfWdeWCr27 yg/g== X-Gm-Message-State: AOAM530jG0/YCUDCRd6nejLFMJgHb7qYkV06LNvxSJRbpfaeUcESRuzB DzxKs4EmEAUtLNzhbsuUfgFSCevNDM+9RLHb8RAWs60lTj0= X-Google-Smtp-Source: ABdhPJw4EoEAssdj+o8H6LXsDHc8O7NrGufrLKeqnpYTgwFQ5ZKpgVAqKHY0OKYZbCBYW1+1Ss4+AJAaLD2tWKh8CwU= X-Received: by 2002:a2e:b5a7:: with SMTP id f7mr11859236ljn.19.1631921899350; Fri, 17 Sep 2021 16:38:19 -0700 (PDT) MIME-Version: 1.0 References: <20210913224926.1260726-1-heiko@sntech.de> <20210913224926.1260726-5-heiko@sntech.de> In-Reply-To: <20210913224926.1260726-5-heiko@sntech.de> From: Linus Walleij Date: Sat, 18 Sep 2021 01:38:08 +0200 Message-ID: Subject: Re: [PATCH 4/4] gpio/rockchip: fetch deferred output settings on probe To: Heiko Stuebner Cc: Bartosz Golaszewski , Jianqun Xu , "open list:GPIO SUBSYSTEM" , Linux ARM , "open list:ARM/Rockchip SoC..." , linux-kernel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org On Tue, Sep 14, 2021 at 12:49 AM Heiko Stuebner wrote: > Fetch the output settings the pinctrl driver may have created > for pinctrl hogs and set the relevant pins as requested. > > Fixes: 9ce9a02039de ("pinctrl/rockchip: drop the gpio related codes") > Signed-off-by: Heiko Stuebner Since this patch depends on patch 4/4 I applied this to the pinctrl tree as well. I still think this looks a bit kludgy but can't think of anything better right now and we need a fix for the problem so this goes in. But we need to think of something better, Yours, Linus Walleij From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5FBBEC433EF for ; Fri, 17 Sep 2021 23:38:26 +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 2A56661130 for ; Fri, 17 Sep 2021 23:38:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2A56661130 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=H7KUSnRFNE4wN0vEnDWJajW6Qdm91OVg3GsQjXpjKO8=; b=PT4VMrkBH5E+45 0yyDewINvZEGE5wPJlH3T4mLNzSnE5sk1IPXp1rEURJ9M9zIB+Usp7M6YfDDEBbi5627PjNGRgt5Q GUjiP+Axq2gkRa2bILQ32yYVNZiuVrAYWzq3SR2GS0DivZ9jNmgcrL/nfm2hDi/EY8YgfK8zh7SJD UvLuMAWc5axpJe1D6w5UkVlKdJKZ9p+2HB7rpLH9u0IyUw5wXTKhGEOPO1/ZHVMTV7y9owVwnLYyp AFtgw/7kVTeyqx2rbsLkxFFd1cp11PXW2YYaNfYABni0TsaE/wI4qLVLsllwvKRd8Q/yfSkIIJG2M iUwl1lU+DDGsUtyHU7Eg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mRNR1-00F8qT-4x; Fri, 17 Sep 2021 23:38:23 +0000 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mRNQy-00F8px-Oz for linux-rockchip@lists.infradead.org; Fri, 17 Sep 2021 23:38:22 +0000 Received: by mail-lf1-x12f.google.com with SMTP id e15so967159lfr.10 for ; Fri, 17 Sep 2021 16:38:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=KeHzeB7io94eA/ZJSHL1lXdfmPLUOLShSlChdwb/4UM=; b=dy9OzlFOrhnl1DS8/X+L7nE1kMFKgnlxfciOEhe+x+cltD1TM7SnASV0vjMxXR/urJ kIkBxfeK5sxCQgMft8Yyfukwk5oiWkXaZVJzhT0fhd4TdKGiDkPn/M7WUZkjn8dIH2cK sCGAXski8FM3PPJ0AsCsv7dSz8+bad5pHjO2gPuYTY8kwb6dAvj6HRvj1Z3HWi7eN9u+ C5aOzaMx7T9W6JVKIifyQEGb8tHMb2R2Y5aGafrOp4Biu6oWNeZTAxtLM2fdWh5kx2l1 bUd1fQfkYn7tmjFQWZ4gp3ARCgd7YoLuubNMaNgsjcTE8KD3mEneFcX4pktxKupTJ9FZ d0XQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KeHzeB7io94eA/ZJSHL1lXdfmPLUOLShSlChdwb/4UM=; b=1L5FimFsnqzzzZfUxk7vKK8IN9z7DzlZFGJnoKNFRq1+jo5Zgp7vF8+RSN27BDkNSX kDzrr11hC/qQrcOonR5bFiftGzkg/kcyEjL3pG2FuP+dLj8OmT+i1KDdnFsVrc/zpnEa 2TRF32b+oCGNeyW8tsydIDIm64oGA2gPpmyKHRPjPhl1UN6SF52RBj719jWGQrrciYKg liXzMIqoJqwV4152SsL1RxX1oZZTX17Cm958LTeny7pPx4cWs3KA57gkHgXutOSMOydf xDEjvizRBxbnNQgn4+HtJUF+KJhzaZRRCJ5K13oTn+cze6nz/oLB8EQvFNHdkbtbvxbP WwzQ== X-Gm-Message-State: AOAM531C8cOR7rOP33ZRVbcQ+G5xDkKnwIqwEbuYk0mlmTIw47U+EIe5 vKYgPWWLHCzpP9eZF3cz0T+MAgvR6adCc8W+bxGVpQ== X-Google-Smtp-Source: ABdhPJw4EoEAssdj+o8H6LXsDHc8O7NrGufrLKeqnpYTgwFQ5ZKpgVAqKHY0OKYZbCBYW1+1Ss4+AJAaLD2tWKh8CwU= X-Received: by 2002:a2e:b5a7:: with SMTP id f7mr11859236ljn.19.1631921899350; Fri, 17 Sep 2021 16:38:19 -0700 (PDT) MIME-Version: 1.0 References: <20210913224926.1260726-1-heiko@sntech.de> <20210913224926.1260726-5-heiko@sntech.de> In-Reply-To: <20210913224926.1260726-5-heiko@sntech.de> From: Linus Walleij Date: Sat, 18 Sep 2021 01:38:08 +0200 Message-ID: Subject: Re: [PATCH 4/4] gpio/rockchip: fetch deferred output settings on probe To: Heiko Stuebner Cc: Bartosz Golaszewski , Jianqun Xu , "open list:GPIO SUBSYSTEM" , Linux ARM , "open list:ARM/Rockchip SoC..." , linux-kernel X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210917_163820_859680_5F3D0A07 X-CRM114-Status: GOOD ( 11.97 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org On Tue, Sep 14, 2021 at 12:49 AM Heiko Stuebner wrote: > Fetch the output settings the pinctrl driver may have created > for pinctrl hogs and set the relevant pins as requested. > > Fixes: 9ce9a02039de ("pinctrl/rockchip: drop the gpio related codes") > Signed-off-by: Heiko Stuebner Since this patch depends on patch 4/4 I applied this to the pinctrl tree as well. I still think this looks a bit kludgy but can't think of anything better right now and we need a fix for the problem so this goes in. But we need to think of something better, Yours, Linus Walleij _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6D3CBC433F5 for ; Fri, 17 Sep 2021 23:40:30 +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 310A3610C8 for ; Fri, 17 Sep 2021 23:40:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 310A3610C8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=a3wCCiDluf3+7VfsHkwq+lY6oCPdNCZk2PmvU5fjzsM=; b=Gsct1Xcqs+CGvE M1/2pHUM5YV4wcH2z0jGqlp0fgqbUsb7jQk+0XhwETcz1Hyk3zeBa6teVZMkV8I0cf5vZnhbh+Ni6 qGKN2GKPTzRK6yDR1tUHo4zca9758DUnRrwS6/Mgn4l2sK4EZ6LkF55wegyyCYTQjXnZeSR0CTYAK IAOG3j9jkAgSJnUTfdl6y7aIvgp5siOQJg7cxzCQBCwjFxSUvyIso0HhE0iir3fHrDJThtnSNLlxo o7Rv9oqPNrHZqw4sXikGtCr5dycvych71Wzc64RDryAYBrdXZvTk3WXxQ5QWS4p1bCWcjbgjtc1nU eEzAbGm5lVyjg619SZLg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mRNR9-00F8s6-Rv; Fri, 17 Sep 2021 23:38:32 +0000 Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mRNR6-00F8py-0c for linux-arm-kernel@lists.infradead.org; Fri, 17 Sep 2021 23:38:29 +0000 Received: by mail-lf1-x12c.google.com with SMTP id i25so39784883lfg.6 for ; Fri, 17 Sep 2021 16:38:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=KeHzeB7io94eA/ZJSHL1lXdfmPLUOLShSlChdwb/4UM=; b=dy9OzlFOrhnl1DS8/X+L7nE1kMFKgnlxfciOEhe+x+cltD1TM7SnASV0vjMxXR/urJ kIkBxfeK5sxCQgMft8Yyfukwk5oiWkXaZVJzhT0fhd4TdKGiDkPn/M7WUZkjn8dIH2cK sCGAXski8FM3PPJ0AsCsv7dSz8+bad5pHjO2gPuYTY8kwb6dAvj6HRvj1Z3HWi7eN9u+ C5aOzaMx7T9W6JVKIifyQEGb8tHMb2R2Y5aGafrOp4Biu6oWNeZTAxtLM2fdWh5kx2l1 bUd1fQfkYn7tmjFQWZ4gp3ARCgd7YoLuubNMaNgsjcTE8KD3mEneFcX4pktxKupTJ9FZ d0XQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KeHzeB7io94eA/ZJSHL1lXdfmPLUOLShSlChdwb/4UM=; b=wse5FPdDu/wzZK+SiLo5TUNgkbbexxgWIuVhkR1gj3VrXCOA6itw1h2JJ1H6NL7H7h iAQj/l6Z2dD10mIylIYJmMskEb9/VD25O6SP9O4nh0x2Bv74BtwyRCMY8hYTqxBH0fEq VibNpCzvoo5zvNhBdEJpXyV6Yg8o+eubuIYVh0AvtDv0Dx8Stay4gp0VhrH6c5/+sNh9 orxAYZoYOLkomeRTiCrvuPGhZA7P0RUZ2wu8I7eaEP0CETsueMcdZEMIf2buWjdFETba E/jVIt2bYrt0LOrRL8H1jPqS/+nS+rgAiZ6+fgWgr4YSAZiX2t0lTUX325RIANCsJR0A kUkQ== X-Gm-Message-State: AOAM5322owu8k/KNSjafed2kctXQW7UFKL0FYdHMAeYMrcUtggvrSvrb za3MyKHK249TkvOvHwLeDn1AcLBWbBBtC/PUyqH7PQ== X-Google-Smtp-Source: ABdhPJw4EoEAssdj+o8H6LXsDHc8O7NrGufrLKeqnpYTgwFQ5ZKpgVAqKHY0OKYZbCBYW1+1Ss4+AJAaLD2tWKh8CwU= X-Received: by 2002:a2e:b5a7:: with SMTP id f7mr11859236ljn.19.1631921899350; Fri, 17 Sep 2021 16:38:19 -0700 (PDT) MIME-Version: 1.0 References: <20210913224926.1260726-1-heiko@sntech.de> <20210913224926.1260726-5-heiko@sntech.de> In-Reply-To: <20210913224926.1260726-5-heiko@sntech.de> From: Linus Walleij Date: Sat, 18 Sep 2021 01:38:08 +0200 Message-ID: Subject: Re: [PATCH 4/4] gpio/rockchip: fetch deferred output settings on probe To: Heiko Stuebner Cc: Bartosz Golaszewski , Jianqun Xu , "open list:GPIO SUBSYSTEM" , Linux ARM , "open list:ARM/Rockchip SoC..." , linux-kernel X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210917_163828_088561_8022889D X-CRM114-Status: GOOD ( 13.07 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Sep 14, 2021 at 12:49 AM Heiko Stuebner wrote: > Fetch the output settings the pinctrl driver may have created > for pinctrl hogs and set the relevant pins as requested. > > Fixes: 9ce9a02039de ("pinctrl/rockchip: drop the gpio related codes") > Signed-off-by: Heiko Stuebner Since this patch depends on patch 4/4 I applied this to the pinctrl tree as well. I still think this looks a bit kludgy but can't think of anything better right now and we need a fix for the problem so this goes in. But we need to think of something better, Yours, Linus Walleij _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel