Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3159317rwi; Fri, 28 Oct 2022 17:01:28 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6NTaro6ijP9Fl1rKVUNyaPj/KDeKURY3OvqNHP3PKZXyffaAuHODK6Hpt7wmxMYt03ydFX X-Received: by 2002:a05:6402:1911:b0:461:f0d8:4eb6 with SMTP id e17-20020a056402191100b00461f0d84eb6mr1873775edz.297.1667001688614; Fri, 28 Oct 2022 17:01:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667001688; cv=none; d=google.com; s=arc-20160816; b=QOMBGIQ1JfA98G5uuQw4FfF43n8s3ut53T+Og35PIAh4CfP+uITY1+AXJZvrhCxRue jFZ04WpDYMo6dNwlrBHQoaaTBc4rT3bt9G+P6ca6D2VPooOIicgFidp1kgbv1p1Z+QjV kkA8c5Ejo9EH2U5yGfNfg9umrA/AWGs1g0GhfkyZitWTVfeMMraZCuhwD2Mzs1jobZ6S z2zUBHxTfQqaehoPHhI98voEmiClEE34ovFIWYKVIk8yRp0wJaDPdtddLUCg1CVhHfZU vKEwjte7b32it4tV7qft0RFftAxlKWUhjsyqmnF/x/zdjIPkJck+Ca0NLeHmhyPiCzFI Uaxg== 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=8w2NYwcU/LxoZeA70fFUf8Snmsz0a/FEvB2F4yg5rzI=; b=wJKadOnYenp/9gteEhKnDCbIGviNuUBcPrtzdY2hGGPwJ+DB5ruJVlFo7pxqUirR2h UTJWS+BiTyKVccLIUOfxl5Fep1KoLGofZJk4vam9AZ6mQvLzUwM9vACq8o1Dj6rvH8jM Cv7ZDD38c3U8pg5ZcXA0iQHqJMqeToKNdzPhSUsQt+G1NavOAiEKgDGyky5uf/kZCoEr R81ZKUmp09FyKbqMrSuWWJeYwcGk/1vbaky11ID+SAMSLINaXNhzi9Esz5uQ4mwG8Bnt 68hpaSkmCwlFupTJbO+HA/OVkTy1g3OXQyCnnfVo9UVJtGTpeyNPwZmojWwXWkm9ngqn M3KA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RS9HoOWq; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i5-20020a508705000000b00458ac23f0b8si52851edb.399.2022.10.28.17.01.03; Fri, 28 Oct 2022 17:01:28 -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=@linaro.org header.s=google header.b=RS9HoOWq; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229927AbiJ1X4X (ORCPT + 99 others); Fri, 28 Oct 2022 19:56:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229750AbiJ1X4U (ORCPT ); Fri, 28 Oct 2022 19:56:20 -0400 Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D8D414707E for ; Fri, 28 Oct 2022 16:56:02 -0700 (PDT) Received: by mail-qt1-x82b.google.com with SMTP id f22so4486636qto.3 for ; Fri, 28 Oct 2022 16:56:02 -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=8w2NYwcU/LxoZeA70fFUf8Snmsz0a/FEvB2F4yg5rzI=; b=RS9HoOWqVyRPdi4iPukjXDBFWBHpBP+0R3pRGgU1YY0THtRKCGBm5+TvZe/Y7tqf4W WmAnDLLOfK1tAVDJS6tTqjW5D4YCnPxAuDGxBXvqcVcm35aXhBSscbEQrS+bUo7MVXeY HFn3q6CnpBg5EwMKeQ8hosbhPRbpnZ/dRNFUOSzWkb7z4ED525yYK3sC4Lig2GblI23S PG7D3d8rlIrKNWvNrtcq/M6FOflJ/xRA7D5dm2eFUwz9kASav0ny4OklPZo8vPoIIlT2 7GTsH1bv4guGVz/o53yS6/pe4dw1k3AZPbYjUmQkPuoQNSuYDex5qn7X6WbZGUcHWLRf u1yg== 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=8w2NYwcU/LxoZeA70fFUf8Snmsz0a/FEvB2F4yg5rzI=; b=StMRNucdThKIWLNHXoS5fO3YAHNxTgGuNLKchLVrdKO0FQz8rVSDT3slkRuZjWK5UM pRUU50XeUYaNxxVa1OFZpIeUjXamzN8+sW0DziTfyY8FzH4hxUrA//jNWzh68mc2AlT2 5hQ4JNKWOACCPPmVCsy7zvbi+vkdoHC5uTBBnlQzm88DXtNEUTGAuOV6pHmPbvRaPtgA SKtNFtV/mOMqWAv0y0UAFivNTZirek3RhUJinp6M0VsL0SwLQnlLrdT43l0MoKrmdslB II4x9l2qbwiim8HcQKs/35bsMoh2ym7CsZJiEYZqbYe9L2hno40kgkkZbzV4h2U1rDnx o+3A== X-Gm-Message-State: ACrzQf2/rKlzevToVADklbZxEE8P2iUz4GjnnrQhGlZONnHfGd9JRr83 uSP3aa/zxD/5ivUJ9jCGkHBBWNxK0iIVHA== X-Received: by 2002:ac8:5e54:0:b0:399:e614:3b0b with SMTP id i20-20020ac85e54000000b00399e6143b0bmr1803085qtx.89.1667001361886; Fri, 28 Oct 2022 16:56:01 -0700 (PDT) Received: from [192.168.1.11] ([64.57.193.93]) by smtp.gmail.com with ESMTPSA id i21-20020a05620a249500b006a6ebde4799sm33564qkn.90.2022.10.28.16.56.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 28 Oct 2022 16:56:01 -0700 (PDT) Message-ID: Date: Fri, 28 Oct 2022 19:55:59 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: [PATCH 1/2] dt-bindings: clock: Add bindings for Renesas ProXO Content-Language: en-US To: Alex Helms , Rob Herring Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, sboyd@kernel.org, mturquette@baylibre.com, geert+renesas@glider.be References: <20220914211809.22500-1-alexander.helms.jy@renesas.com> <20220914211809.22500-2-alexander.helms.jy@renesas.com> <20220915120844.GA996386-robh@kernel.org> <8d71b849-7226-09ec-d099-ae5c172e1a17@renesas.com> From: Krzysztof Kozlowski In-Reply-To: <8d71b849-7226-09ec-d099-ae5c172e1a17@renesas.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22/09/2022 14:06, Alex Helms wrote: > On 9/15/2022 5:08 AM, Rob Herring wrote: >> On Wed, Sep 14, 2022 at 02:18:08PM -0700, Alex Helms wrote: >>> Add dt bindings for the Renesas ProXO oscillator. >>> >>> Signed-off-by: Alex Helms Please use scripts/get_maintainers.pl to get a list of necessary people and lists to CC. It might happen, that command when run on an older kernel, gives you outdated entries. Therefore please be sure you base your patches on recent Linux kernel. >>> --- >>> .../bindings/clock/renesas,proxo.yaml | 50 +++++++++++++++++++ >>> MAINTAINERS | 5 ++ >>> 2 files changed, 55 insertions(+) >>> create mode 100644 Documentation/devicetree/bindings/clock/renesas,proxo.yaml >>> >>> diff --git a/Documentation/devicetree/bindings/clock/renesas,proxo.yaml b/Documentation/devicetree/bindings/clock/renesas,proxo.yaml >>> new file mode 100644 >>> index 000000000..2ae131431 >>> --- /dev/null >>> +++ b/Documentation/devicetree/bindings/clock/renesas,proxo.yaml >>> @@ -0,0 +1,50 @@ >>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >>> +%YAML 1.2 >>> +--- >>> +$id: https://jpn01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdevicetree.org%2Fschemas%2Fclock%2Frenesas%2Cversaclock7.yaml%23&data=05%7C01%7Calexander.helms.jy%40renesas.com%7C34ce960b2542459b61d408da97130b50%7C53d82571da1947e49cb4625a166a4a2a%7C0%7C0%7C637988405289843575%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=izvR%2FXbUNVXknaODSnMmcetPnn%2Ff3Jk%2F6RuBdZ7uSa0%3D&reserved=0 >>> +$schema: https://jpn01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdevicetree.org%2Fmeta-schemas%2Fcore.yaml%23&data=05%7C01%7Calexander.helms.jy%40renesas.com%7C34ce960b2542459b61d408da97130b50%7C53d82571da1947e49cb4625a166a4a2a%7C0%7C0%7C637988405289843575%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=dQ7nZtgfTE5DrXB1iavJuOhSWmGl4tYI1m6iZpkPAhA%3D&reserved=0 >>> + >>> +title: Renesas ProXO Oscillator Device Tree Bindings >>> + >>> +maintainers: >>> + - Alex Helms >>> + >>> +description: | >> >> Don't need '|' if no formatting to preserve. >> >>> + Renesas ProXO is a family of programmable ultra-low phase noise >>> + quartz-based oscillators. >> >> Are they all the same from a s/w standpoint. If not you need specific >> compatibles for the differences. > > At this time only the XP variant is supported and this is reflected in > the "compatible" string. You should document everything, if possible, not what is supported by some version of some system/driver/firmware. > >> >>> + >>> +properties: >>> + '#clock-cells': >>> + const: 0 >>> + >>> + compatible: >>> + enum: >>> + - renesas,proxo-xp >>> + >>> + reg: >>> + maxItems: 1 >>> + >>> + renesas,xtal: >>> + description: Internal crystal frequency, default is 50000000 (50MHz) >>> + $ref: /schemas/types.yaml#/definitions/uint32 >> >> Use 'clock-frequency'. > > I think "crystal-frequency" would make more sense. The parts come > programmed to a factory clock frequency which is different than the > internal crystal frequency. We have a standard property and it should be used, when applicable. Don't encode here frequency for something else than the driving clock. Best regards, Krzysztof