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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EF8E8C4332F for ; Sun, 9 Oct 2022 15:17:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229973AbiJIPR0 (ORCPT ); Sun, 9 Oct 2022 11:17:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230060AbiJIPRZ (ORCPT ); Sun, 9 Oct 2022 11:17:25 -0400 Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A82D2A240 for ; Sun, 9 Oct 2022 08:17:24 -0700 (PDT) Received: by mail-qk1-x734.google.com with SMTP id v17so5505355qkv.5 for ; Sun, 09 Oct 2022 08:17:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=gDVjDN2hc5vVTSMOAggOEb9m9ZtapX9IIDMEqTOQ1x0=; b=H4fbn1j172SCEsklqsllZtM7rSDPVd5FUWsOhxH9xbYqpPHriCab5ihAYa2Q9fKu6z IDIn0N0/5LMSBL+/OuOwDL/LA3QV4Z773rwjCI/P4LLFSv4eBrwhA1hQi5/fbBNN6Iku r/RCbbWXyqP/AKMADXbfGAf6hzZc/o7AXCrU0SIJf+5T11stQZCN5Eto70/D/R9exCgV W+vwb7EhixEc/i1rD34aofVCEvv+vRH0/eZeV/OlvAxNUgSgwWe526Fzax82Wgg8YVJQ wTFiqx7msLcS28GnASVnbBI+1hMfJrYciO+U51U5UtqjHRfJ6YR0gZhzlG6/G946eFN4 ohWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=gDVjDN2hc5vVTSMOAggOEb9m9ZtapX9IIDMEqTOQ1x0=; b=U7BqLmfGGx1pf98FDmKnbubta5exwENoEy7Vn4H3VGloVcU0xvqBacnh4OvxBhb5ae OphgcdAADhTSze1k0W8RppCHi1/U3v3R8fU++y44n3wHzIk07zOTTsCHAE/UJNzuWW/w otG8gzUGaOFlStv9ZpvDHnQ+fKU/2ty+tfeKbPSUBVxFzJ1o3+pQOZng1Y32gHQz3igf p3w6MD07b5j7sINwZ3WeHMLd1hVfy0EWCMuw9XqqqwWvcEfqCH6cvgIl2OAHp1StfIzA RJOgY071/LQcU/BED5l+Nr6VyOPFU72wFjstEkjTSMaa5hY4e9J8uQVS1fgxzGz16swX zTag== X-Gm-Message-State: ACrzQf0CyD0Gr+OBt2TJWn5H9Gtz3cL3lwtRF/11ujuIoNIu+ywWxYuQ ZVftUEnRVdtfkfasQyA6xsfySQ== X-Google-Smtp-Source: AMsMyM5H7ETuErdfaJFeaTLUbSUaCy8+VQoEIqBBNI74zcH3Wxju3S2Fw9m2ZAQSz7lAiVeGqrXMWA== X-Received: by 2002:a05:620a:284b:b0:6b4:8685:2aa6 with SMTP id h11-20020a05620a284b00b006b486852aa6mr10190525qkp.780.1665328643416; Sun, 09 Oct 2022 08:17:23 -0700 (PDT) Received: from [192.168.1.57] (cpe-72-225-192-120.nyc.res.rr.com. [72.225.192.120]) by smtp.gmail.com with ESMTPSA id m8-20020ac84448000000b0039a1146e0e1sm649509qtn.33.2022.10.09.08.17.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 09 Oct 2022 08:17:22 -0700 (PDT) Message-ID: <2961c272-52af-9f77-0ff3-105b81438316@linaro.org> Date: Sun, 9 Oct 2022 17:17:21 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: [PATCH v3 1/4] dt-bindings: mfd: Document RZ/G2L MTU3a bindings Content-Language: en-US To: Geert Uytterhoeven , Biju Das Cc: Rob Herring , William Breathitt Gray , Thierry Reding , Lee Jones , Philipp Zabel , Krzysztof Kozlowski , =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= , "devicetree@vger.kernel.org" , "linux-pwm@vger.kernel.org" , Geert Uytterhoeven , Chris Paterson , Biju Das , Prabhakar Mahadev Lad , "linux-renesas-soc@vger.kernel.org" References: <20221006135717.1748560-1-biju.das.jz@bp.renesas.com> <20221006135717.1748560-2-biju.das.jz@bp.renesas.com> <20221006201746.GA93297-robh@kernel.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 09/10/2022 16:38, Geert Uytterhoeven wrote: >> >> So looks like either we need to use compatible "renesas,rz-mtu3-counter" and >> "renesas,rz-mtu3-pwm" if these functionalities to be in respective subsystem tree >> >> or >> >> squash counter and pwm functionalities to MFD subsystem. >> >> Please share your views on this. Is there any better way to handle this? > > I think what Rob means is that you can have a single driver that binds > against "renesas,rz-mtu3", and registers both the counter and the pwm > functionalities. Just like the clock driver, which registers clock, > reset, and PM Domain functionalities. I.e. no mfd would be involved > anymore. > You can still split the driver functionality across multiple source > files (core, counter, pwm). Yes. Bindings design is independent of driver design (e.g. still MFD framework). Best regards, Krzysztof