Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4628923rdb; Fri, 15 Sep 2023 07:52:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEPpdEsPX+y7h4yoQY+rWupk4BfZ0mQpapYAUG5n/Ha0NWcoLbRjPT+N53c4A2hddrTu63S X-Received: by 2002:a92:cd88:0:b0:34b:baa1:fbea with SMTP id r8-20020a92cd88000000b0034bbaa1fbeamr2726144ilb.30.1694789536643; Fri, 15 Sep 2023 07:52:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694789536; cv=none; d=google.com; s=arc-20160816; b=dmzKfwxEsReKlHmDxn2epmsjaXSOAPLzuj4Fy3vpcXepPB0240mhG7tuaBHhP2VYG1 aQK/FQwrfX1cz20C8rPViLZOmUiBbV0JJFDKPgiKKRtwFRLt2T33Jfi+rH7mnDYFkEEW Arjbw48ws9YTFa4jSQVJw6e23/D2TD96415pQjpQ4LeJcGV0JUI/RkB+UHTt+HNHd4nr rU3yblsS3WhAWd8EEUDRR1edHoMH+Ikbcik6wotl6cx/ecacGaiXlO0z2GckCIpXw1AB TyLksj4YRi/9ptrgSfmQCUMf8RvMsIN8Z1q/iHD+Nr+A8hxt3XCEVyXntL+qShirEzkg pVWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=bzCJAI+cy2PoIAugfBdzhs0SS6s7L9z81akVyEJBop0=; fh=5g8Aoy44+wspMRl1n7OzwwAkHOQzcKYLuGTsRd+WMl0=; b=FgIOz4p3yNGhe8T92uEMMHf0gyLqd6dhhTBojAyI0eqn96LcyB2SaQ5JPaKasaLl+k bxXJ8UX9pJnnMdYJ03GSfpBMh48Ccn+6SV1JXYoRQ+EaOsunyyJAxNYUOzyLqttcsM+I UX1bQoeeK7n1790qgPr7T3o7LWB3vhPoSayeqEpfHSo99sxrfMr2B6yCCZw8cYttP8DY 1Pb9NjH78ox3Ye9V4NuAZKt04ivSMwO76IZy5bnlr1i2ht+Ib2LzAKSmF+7gQBWNlvjW Ji80gnVA+utbuRUPe2c9TU7SbmTkP9knsRhtDQV5r+/X7XJXZXd+0NkJ4qnjlF8qaOXm kFYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CvLP61L5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id z16-20020a656650000000b0056433b221b9si3261454pgv.477.2023.09.15.07.52.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 07:52:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CvLP61L5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id B64F781B5D24; Fri, 15 Sep 2023 07:46:17 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235822AbjIOOqI (ORCPT + 99 others); Fri, 15 Sep 2023 10:46:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235789AbjIOOqH (ORCPT ); Fri, 15 Sep 2023 10:46:07 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 031361FCE; Fri, 15 Sep 2023 07:46:03 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 14FD2C433C8; Fri, 15 Sep 2023 14:46:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694789162; bh=vmWJjbUV9feQTNnTRpzFcWDL7EDviII2F9crbfYB6XI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CvLP61L5Srj5bBexjD3yccDBzkb0QAHF22eelHc/2Ww0BT7WfYu/CSZ56X9/nE6qu 5EU6lXh59ctX45FlSf8ZO+l5lfoUDbvLTbKUk8urSmWJYPCjlrJa0HJYtGmscey7ud JJmR6bUhBJys4Y9sX0ySY9uue2XHYEWg5OvQFTSeO+jfS66qitFwy0wFjUWg/5/z74 9d3l/Fz1Yb6hGNZ7AjPBZshOdhPbebdTpEA6sHyVjyMFcZAq5qCKdqOF2CmiFix6c9 ewzUL0rCnYYgYX1/pLDH+43J//2ZUuVUySuu5a+FGUq8F9mxRS36J01YP5sVQX3st7 DbM/UIq8Yz2Cw== Received: (nullmailer pid 3702987 invoked by uid 1000); Fri, 15 Sep 2023 14:45:59 -0000 Date: Fri, 15 Sep 2023 09:45:59 -0500 From: Rob Herring To: Sascha Hauer Cc: Chen-Yu Tsai , Linus Walleij , Saravana Kannan , linux-rockchip@lists.infradead.org, Heiko Stuebner , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, kernel@pengutronix.de, Quentin Schulz , Michael Riesch , Krzysztof Kozlowski , Conor Dooley Subject: Re: [PATCH 1/3] pinctrl: rockchip: add support for io-domain dependency Message-ID: <20230915144559.GA3696959-robh@kernel.org> References: <20230904115816.1237684-1-s.hauer@pengutronix.de> <20230904115816.1237684-2-s.hauer@pengutronix.de> <20230913065843.GF637806@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230913065843.GF637806@pengutronix.de> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 15 Sep 2023 07:46:17 -0700 (PDT) On Wed, Sep 13, 2023 at 08:58:43AM +0200, Sascha Hauer wrote: > On Wed, Sep 13, 2023 at 12:37:54PM +0800, Chen-Yu Tsai wrote: > > On Tue, Sep 12, 2023 at 4:07 PM Linus Walleij wrote: > > > > > > Top posting to bring Saravana Kannan into this discussion. > > > > > > This looks like a big hack to me, Saravana has been working > > > tirelessly to make the device tree probe order "sort itself out" > > > and I am pretty sure this issue needs to be fixed at the DT > > > core level and not in a driver. > > > > We could merge all the IO domain stuff into the pinctrl node/driver, > > like is done for Allwinner? Maybe that would simplify things a bit? > > I thought about this as well. On Rockchip the pinctrl driver and the IO > domain driver even work on the same register space, so putting these > into a single node/driver would even feel more natural than what we have > now. DT should reflect the hardware. If this is in fact 1 block, then it should be 1 DT node. How you want to split the driver or not is up to you. Rob