Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp4854354pxb; Wed, 20 Apr 2022 11:26:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxgi7y2OPzLT7TdGSkf9zOWwDK9MfMqMvDKG/bfhU4A7ptHGax5E0KLbkk77G2ukAe9WfsS X-Received: by 2002:a17:907:3e96:b0:6e8:aeb9:4f91 with SMTP id hs22-20020a1709073e9600b006e8aeb94f91mr19638466ejc.314.1650479174009; Wed, 20 Apr 2022 11:26:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650479174; cv=none; d=google.com; s=arc-20160816; b=p8ge4LhPRsqokuwL+K7+sgMkRqVXrqEDmSedKnASCr96faBfBKDqImZXjXvuG9Rin2 IBbrY6Ggo5og+qf7DGCzcTFTuu0OADtQRghYk6GS3P2mJpF082RYEOv03vxYmWbfQM71 ppJ+obZ0zPn2P5CrorudlcrfDjBnJJncT9TeAErSyCB8BXvu8R6jAxXoDnMcdLqsCEre GVs6PDv6qdyKVkpdD1NxyhY+u/RMGrGWgnq1m/o50wA31eAZcTKn/YWlR4xvXDrvAAuX 6KxObpz9c4tTQdW+3bdpOK10TLSlgmp7F2/GQjnO5/pJzDdWVOoPCPaTipQ24sEB+ftg fKEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=SjD5CFslJQQYURAmfXvw+WxJZ7JPzN1dOfI/dFsBNzg=; b=krdNz8kdIBgdOQa0HRdCdkBx/pLbEgtjV3/X2CMdRD2v2b6NsnDy7B+EjbUk/FkEiN ERM//gaSA5THMXWtQsFocAUIHhcQgdpqLeVqiQq2DCKg3SeUqj0Kqd2WvM6bIHmaIcL+ TFV6DVEH9QFR7tuxpAvXkRivBvQQP9okdOJomdYOl5WG8sSq1AFvH5gI7RhdGBcxJCIl ijPnpYxgizQs08yL6Din5lOn0378x38bdiVY/bR07WcGNG7UjyUUmRWZNrEHOgrBjaz1 ThPQEbqpAQS4N1F0VT0AaV+skM0Y6gbaGV/cZT7nySMp0HXjislK9gY+pqVMWI/pjkBf tp5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=dUdFe12p; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u24-20020a170906951800b006e9cd478e1bsi2253768ejx.764.2022.04.20.11.25.47; Wed, 20 Apr 2022 11:26:13 -0700 (PDT) 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=@gmail.com header.s=20210112 header.b=dUdFe12p; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356032AbiDSRsE (ORCPT + 99 others); Tue, 19 Apr 2022 13:48:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352507AbiDSRr7 (ORCPT ); Tue, 19 Apr 2022 13:47:59 -0400 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2CBC462E9; Tue, 19 Apr 2022 10:45:13 -0700 (PDT) Received: by mail-lj1-x22a.google.com with SMTP id y11so3912361ljh.5; Tue, 19 Apr 2022 10:45:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=SjD5CFslJQQYURAmfXvw+WxJZ7JPzN1dOfI/dFsBNzg=; b=dUdFe12pHTI33mJnYfkh/TazjFWSWVb+om+MTj/GzhLgegWL9KGtC6MyUS1i4zTKxA 0CNH077RDCRwL15pPGcRpmIE8js/9QFKpPz0L4mG5KM3zbvFb7oONTpxAJO2+kKdGMsd owWHsM+kj0A8W8DfI+x5A5+Bp6LL7HF36f/iZSNbFmoCskj3Dv07UrEDlUoBVcpthWFW T6ybwCUHutfaZh3+oFxP1JweHzQ1wpF6CjFwHA8jH6GgadsPc3YtzUyuEARBfhTht95U zWjc8MdnxpncRGG6FK1yGnbLaJDe5hihomQ3b78OVdDKLGx25xRAsLZa2COCAaiQTzaf SH7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=SjD5CFslJQQYURAmfXvw+WxJZ7JPzN1dOfI/dFsBNzg=; b=AqxklEtcNNCeyTSph+PfM3A1uSbkiqvY6PgS8dtt8Jz+I0cQ9umaRYerRGI+Mfp6AU Th7QqZ4eJ1WmqzGjYx2yFO1u6MpWVZuz0GC7Mt6hfWTyjKpP5hu/fTZTfYXgUnF+bqQ8 v+qWgsE4GgNHLD0lRsJWiHgIfUBepRJ15qHnvPFCC79c1jHd/zCt1U5uleN4uUKr9DxL JScxk7cbnPQ76pPsxRK6BJuKCjYxq8B0FxM6JXfaJYL9T32PIw7vVNlaCPP5f4xiccRq oJWNyvMT6h3lPyz/F57x9p1ZVJfJMkiTxAHZTZ3rRjYZgU6L7xBaNGspkOQG8RpkXEA/ I1Ug== X-Gm-Message-State: AOAM533bt5XT0hdEFYjleJVpbY/eJoiNjAz+YNwVtDIUvfGQPlKlRMWr pxt5sZS2hlLr8ttZtK7kjmg= X-Received: by 2002:a2e:7012:0:b0:24a:f9bf:ce70 with SMTP id l18-20020a2e7012000000b0024af9bfce70mr10512154ljc.329.1650390311309; Tue, 19 Apr 2022 10:45:11 -0700 (PDT) Received: from [192.168.86.247] ([194.39.226.133]) by smtp.gmail.com with ESMTPSA id r4-20020a2e5744000000b0024d9e106768sm1490874ljd.89.2022.04.19.10.45.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 19 Apr 2022 10:45:10 -0700 (PDT) Message-ID: <0599e7ac-bd06-8d56-b510-0f27f4cc6790@gmail.com> Date: Tue, 19 Apr 2022 20:45:07 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH v4 1/4] dt-bindings: regulator: Add bindings for Silicon Mitus SM5703 regulators Content-Language: en-US To: Mark Brown Cc: linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Lee Jones , Rob Herring , Krzysztof Kozlowski , Liam Girdwood , devicetree@vger.kernel.org References: <20220419160058.9998-1-markuss.broks@gmail.com> <20220419160058.9998-2-markuss.broks@gmail.com> From: Markuss Broks In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Hi Mark, On 4/19/22 19:56, Mark Brown wrote: > On Tue, Apr 19, 2022 at 07:00:54PM +0300, Markuss Broks wrote: > >> +description: | >> + SM5703 regulators node should be a sub node of the SM5703 MFD node. See SM5703 MFD >> + bindings at Documentation/devicetree/bindings/mfd/siliconmitus,sm5703.yaml > Why is this a separate binding with a compatible rather than just being > part of the main MFD binding? Alternatively, why aren't the regulators > described individually in the DT (ie, one node/compatible per regulator)? I took an example from the rohm,bd71847-pmic.yaml MFD binding, they have regulators at a separate regulators { } node, with a separate dt-binding for it. I'm not sure what should I do, I'd be more than happy to follow a better example if you can show me it. - Markuss