Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp97836pxb; Tue, 12 Apr 2022 18:00:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWrskaiAHmAsV4hy3BK9EQ6fBZZ00dzwDqtXD/yMOZESusKKGvLVvRodzO40AKZtawUQsp X-Received: by 2002:a17:90b:1b44:b0:1cd:49b8:42b8 with SMTP id nv4-20020a17090b1b4400b001cd49b842b8mr1884552pjb.102.1649811637706; Tue, 12 Apr 2022 18:00:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649811637; cv=none; d=google.com; s=arc-20160816; b=0ipxQCYClcAXTBcApQzCsMdIN3L4cU1hcfkwd9V1PreMG4pHq2kzKf9YCxZqXiiYBS SvLUY8gBtwkPtwCfgnnLvjnMYcr7+HzHUC25fPYly9NbPNOd3vvLlcKPM0onU+AL7wMo hES8kBJf0wqZ2tj8R8ekDbLr8SAFfFXJgVb+HJPsdDvMwaHQg1/9+jzXIp+IKtbr8Ljj Uuvxy7sfLqEaYC7iIEvbSG4P/Rc3FdKReTzxquerzf9rYWCi4WJietDSvA2e0ld5c3P9 OvCtKFyyw6LV8nTHN8CYh17Ijocxln1SqUjybtpTHVqpLcVb02P13MXPv65wZVUzm794 dihw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=nyNY/m9ONJlCKzS4q3CdtgYdHO/OxuVygYMFfJGfbVc=; b=xH5006ZIpaDtwkIcLY2RMQLn1fR6quJQiNxCLU1Z61dVE3oRodYrUj5syCZSF7TAa4 pfUhYn2dBE7MsMgo7ochK+VFx0rLeExeOFLuJHifbAapBUpxkIv6xskiF+haOwAeZybL 5HgtHXMzUhWBoOYjK5m0PVFrhKEYgUR8eHwTp+Z//4W3z98xTl3TdTj09JCDwznmLmQK sYhpu460Le5GXG0FIsT2FB5itNHHjQAhiZN6GhyNOhCSYi/iYB1cTrcD/TG5cabcTM/p MpTr99zd8T6fVynIyu3/f8rer15fBBsNhokAQNmjLT7QhXs4AK3OhACQ5/UL6TBOKrAE rZQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=wNWOhax4; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ij3-20020a170902ab4300b00156893e1c70si12554062plb.260.2022.04.12.17.59.56; Tue, 12 Apr 2022 18:00:37 -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=@ti.com header.s=ti-com-17Q1 header.b=wNWOhax4; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230347AbiDLXcX (ORCPT + 99 others); Tue, 12 Apr 2022 19:32:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230171AbiDLXb6 (ORCPT ); Tue, 12 Apr 2022 19:31:58 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8672991367; Tue, 12 Apr 2022 15:18:04 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 23CMHiDr025325; Tue, 12 Apr 2022 17:17:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1649801864; bh=nyNY/m9ONJlCKzS4q3CdtgYdHO/OxuVygYMFfJGfbVc=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=wNWOhax4SJjeNOYOlDh/guaxqjCaoCnetpB9byCEN81YlcKpAgDhE3L3VluOSuYVf 5wvXqx1oDqR/KaHrL+B1Mo/lENn677nehWEtZATpnawi/WT3skoWn/metfU/7ftVtr vxU8vwSn+rFAxwY24SnlVBT5XZcoPCVrKWPNVA/A= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 23CMHi3n059118 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 12 Apr 2022 17:17:44 -0500 Received: from DFLE106.ent.ti.com (10.64.6.27) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Tue, 12 Apr 2022 17:17:43 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Tue, 12 Apr 2022 17:17:43 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 23CMHhdk128579; Tue, 12 Apr 2022 17:17:43 -0500 Date: Tue, 12 Apr 2022 17:17:43 -0500 From: Nishanth Menon To: Krzysztof Kozlowski CC: Krzysztof Kozlowski , Rob Herring , Alexandre Belloni , Alessandro Zummo , , , , , Vignesh Raghavendra Subject: Re: [PATCH 1/2] dt-bindings: rtc: Add TI K3 RTC devicetree bindings documentation Message-ID: <20220412221743.vbectb4bcghau2b7@confider> References: <20220412073138.25027-1-nm@ti.com> <20220412073138.25027-2-nm@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20171215 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 On 14:06-20220412, Krzysztof Kozlowski wrote: > > +properties: > > + compatible: > > + items: > > No need for items. Just enum under the compatible. Will fix in next rev. Thanks for catching. > > > + - enum: > > + - ti,am62-rtc > > + > > + reg: > > + maxItems: 1 > > + > > + interrupts: > > + maxItems: 1 > > + > > + clocks: > > + items: > > + - description: VBUS Interface clock > > + - description: 32k Clock source (external or internal). > > + > > + clock-names: > > + items: > > + - const: "vbus" > > + - const: "osc32k" > > No quotes. Uggh.. my bad. yup > > > + > > + power-domains: > > + maxItems: 1 > > + > > + assigned-clocks: > > + description: | > > + override default osc32k parent clock reference to the osc32k clock entry > > + maxItems: 1 > > + > > + assigned-clock-parents: > > + description: | > > + override default osc32k parent clock phandle of the new parent clock of osc32k > > + maxItems: 1 > > Usually assigned-clockXXX are not needed in the bindings. Is here > something different? They are put only to indicate something special. I wonder if I should rather use unevaluatedproperties instead? If I use additionalProperties: False, then the second example below fails. Thoughts? > > > + > > + wakeup-source: true > > + > > +required: > > + - compatible > > + - reg > > + - interrupts > > + - clocks > > + - clock-names > > + > > +additionalProperties: false > > + > > +examples: > > + - | > > + #include > > + rtc@2b1f0000 { > > + compatible = "ti,am62-rtc"; > > + reg = <0x2b1f0000 0x100>; > > + interrupts = ; > > + power-domains = <&bar 0>; > > + clocks = <&foo 0>, <&foo 1>; > > + clock-names = "vbus", "osc32k"; > > + wakeup-source; > > + }; > > + > > + - | > > + #include > > + rtc@2b1f0000 { > > + compatible = "ti,am62-rtc"; > > + reg = <0x2b1f0000 0x100>; > > + interrupts = ; > > + power-domains = <&bar 0>; > > + clocks = <&foo 0>, <&foo 1>; > > + clock-names = "vbus", "osc32k"; > > + wakeup-source; > > + assigned-clocks = <&foo 1>; > > + assigned-clock-parents = <&foo 2>; > > + > > Unneeded blank line. Ack. -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D