Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp13441672rwl; Wed, 4 Jan 2023 08:12:30 -0800 (PST) X-Google-Smtp-Source: AMrXdXs5YcJe/19Qe5xD7TKN2+a3O/7LyKbVhWwBjAjtRlRHunP7BepS9K7W0Oq6Vi1VkgkEOx6M X-Received: by 2002:a17:906:191a:b0:837:c2fc:a97c with SMTP id a26-20020a170906191a00b00837c2fca97cmr41752408eje.64.1672848750296; Wed, 04 Jan 2023 08:12:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672848750; cv=none; d=google.com; s=arc-20160816; b=eLBHhEqCQ1pqyf45Vt5AhxTpE0Kr3O1L2X1V5V7D8Gxhs4+07m1SjILw6Bc0yZ0J9U eaSYrYYklpYsNapn/yKd89Re0JHkJ5W8ghPQMvNFivPgrWs7amKmQHcZEPF/f5Xxx9WE WjwzqC2opiZcTYLs/sqJMGVWzRDFpomlNyUS5AgKxdlS3xXlF3NQHlK0P5Nn1Jm0IlH4 8wf+aKsY06iZw0SQsP4ia7oVvhK1muUitwwF+DNmjGb7Zw9Gm4Q0mN8CVYrsFe2coCaI ieJggi93ZT+Rk/52VaNBCnnRObnddmxtjo1bJTEZkqQhA8X8XsZIF93MMXyarAtIjYty y6Vw== 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=H5YdigsLyAYCh7ZA8rQamc+SpM5UzjY8aoP0T2aOIXw=; b=QMjUEvW8gFp2hHB4UtjKHQhMBK+ZuZ6FB4Y3qMx7nwGnVT6uZheGWVf96G3Iwn8Eu+ 5I2LedSq56mY+bXIFTCf8KfSPNeLN5fCnWyOj27JQGDQlAc6sPeW6GE7fTUE20fWA1FG 0APVeufhpjhg9CeUwaAuJEOrjTnMdu9l9DhfzCAV4OFBUS3xkFF4BqXcOHeXnNaGwpz6 ffymbQC8KV378ZKOr2fDxSKzmM8vpAWIGLl083pF2ZMZGcBDgpFOLPfejgHi6op0f2pn BswFMDYcr47PRPwiwTtRGH4uWNs5Ax4Ixg+x06LHfk43BcGC/DsmRMPtu4QCEsn+nIlF E38g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ke5zuvTA; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hq29-20020a1709073f1d00b007c0f7b5d8e6si34827537ejc.2.2023.01.04.08.12.16; Wed, 04 Jan 2023 08:12:30 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=Ke5zuvTA; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239354AbjADQFQ (ORCPT + 57 others); Wed, 4 Jan 2023 11:05:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234523AbjADQFO (ORCPT ); Wed, 4 Jan 2023 11:05:14 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24EBFB86; Wed, 4 Jan 2023 08:05:14 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id CCD8AB8169E; Wed, 4 Jan 2023 16:05:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7075DC433D2; Wed, 4 Jan 2023 16:05:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672848311; bh=JJul7yCNDp+w5GEK764w15reZx1qVqVJLDDBijdqf9s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ke5zuvTAcSaLbRCxRqI5qC7Io3RSMDqf4/U+JmnCQMI+kqBqvP9LHOCYBeuukXg80 oEuyZUrNUv4MQmeE1zeMJIcbqgMibYkDN2iaGTv6vUE6DUrFXTvN+nQDD2H4iSeJSq f/LYWPxQgIhdncxVJxfQ9nQTEwYDIBHHRUzvWPqS2jMu/PBIv4EzEh2aa1hd4/YEm/ jtDBkjV9ODz1MG0oUC5YXfzKCWd6PNt3itO7u5k3VdMl5j26d7bP2omavrob9HlPxB 5mUfmOXTgVWWveldCMEn2Lf3aHM8ZRMeDMfQraz+obRSvega0aKgwo6nlcKAnMoO/j w3Gk+WH5EMWGw== Date: Wed, 4 Jan 2023 16:05:02 +0000 From: Lee Jones To: Fabrizio Castro Cc: Geert Uytterhoeven , Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Sebastian Reichel , Geert Uytterhoeven , "linux-gpio@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-pm@vger.kernel.org" , Chris Paterson , Biju Das , "linux-renesas-soc@vger.kernel.org" , Laurent Pinchart , Jacopo Mondi Subject: Re: [PATCH v2 2/4] mfd: Add RZ/V2M PWC core driver Message-ID: References: <20221221210917.458537-1-fabrizio.castro.jz@renesas.com> <20221221210917.458537-3-fabrizio.castro.jz@renesas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 > > > > If you do not have any resources to share, you can simply register > > each > > > > of the devices via Device Tree. I do not see a valid reason to force > > a > > > > parent / child relationship for your use-case. > > > > > > There would probably be overlapping on the same memory region, which > > would > > > lead to ioremapping the same region multiple times, which is something > > > I would prefer to avoid if possible. > > > > Okay, so you *do* have shared resources. > > > > In which case, why is simple-mfd not working for you? > > The corresponding dt-bindings got rejected, unfortunately. I had to drop > simple-mfd as a result of dropping the children of my simple-mfd DT node. You have to write DT bindings to be OS agnostic. They *must* match the H/W. Little else matters. How we interpret those in Linux is flexible however. -- Lee Jones [李琼斯]