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 X-Spam-Level: X-Spam-Status: No, score=-7.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 869EBC43460 for ; Thu, 22 Apr 2021 14:17:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4C5FB61459 for ; Thu, 22 Apr 2021 14:17:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237096AbhDVOS1 (ORCPT ); Thu, 22 Apr 2021 10:18:27 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:57356 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236092AbhDVOS0 (ORCPT ); Thu, 22 Apr 2021 10:18:26 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 13MEHihS073442; Thu, 22 Apr 2021 09:17:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1619101064; bh=+QeFwgSZcZvSnHvwP9NbzZ+9fb3TLz4c9lcf8n/o5+k=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=x1FobscePt3LhRtFpyS7l2/hNpjxoOuSm1MNj+kKlrZFIHyGokye5Esc2+CzV1Ytv VBcrsql3vk8E+kclPFCp0bCcUoS+A/Ad+04OQkwQdRmVv69AIB9cJytm4S9JFSe+uN SPcwBAFuMZ3XnwioR5Xm2WlCCpehtEeYf+B7qym8= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 13MEHiqo064493 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 22 Apr 2021 09:17:44 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Thu, 22 Apr 2021 09:17:44 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Thu, 22 Apr 2021 09:17:44 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 13MEHi9N099695; Thu, 22 Apr 2021 09:17:44 -0500 Date: Thu, 22 Apr 2021 09:17:44 -0500 From: Nishanth Menon To: Rob Herring CC: Philipp Zabel , Stephen Boyd , Michael Turquette , Santosh Shilimkar , Tero Kristo , , , , Subject: Re: [PATCH 4/4] dt-bindings: arm: keystone: Convert ti,sci to json schema Message-ID: <20210422141744.2imrochbzzt26wx4@slush> References: <20210416063721.20538-1-nm@ti.com> <20210416063721.20538-5-nm@ti.com> <20210421224041.GA1740292@robh.at.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20210421224041.GA1740292@robh.at.kernel.org> User-Agent: NeoMutt/20171215 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17:40-20210421, Rob Herring wrote: [..] > > +allOf: > > + - $ref: /schemas/mbox/mbox-consumer.yaml# > > Drop. > OK. > > + reg-names: > > + description: | > > + Specifies the debug messages memory mapped region that is optionally > > + made available from TI-SCI controller. > > + - const: debug_messages > > Drop the '-' and fix the indent so it's an actual schema. OK. [..] > > +patternProperties: > > + # All other properties should be a power, clock or reset controller > > + "^(power-controller|clock-controller|reset-controller)$": > > + type: object > > + oneOf: > > + - $ref: /schemas/soc/ti/sci-pm-domain.yaml# > > + - $ref: /schemas/clock/ti,sci-clk.yaml# > > + - $ref: /schemas/reset/ti,sci-reset.yaml# > > I'd prefer you separate these with a property for each node. Hmm... I am not sure I completely understand your comment here. I assume we dont want to duplicate each of those node yamls, so, did you mean something like: ti,sci-clk as a bool property in the tisci node and if present, then expect the node ti,sci-clk node? Can you give me a hint of similar yaml usage elsewhere that I can refer to? -- Regards, Nishanth Menon Key (0xDDB5849D1736249D)/Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D 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 X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F3BE5C433B4 for ; Thu, 22 Apr 2021 14:19:43 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 436DD613C4 for ; Thu, 22 Apr 2021 14:19:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 436DD613C4 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:CC:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=jMIIliNtv9DD7fBcIRzGva1UdzJaHfqKwneV+PNXCmc=; b=bc/m/CJ9YGHJ7kw0dRDk2FclV lrnfrddGECbJrTLcAxJuiGQ9u0bijvviQ3mb8GSFEHkUg5NqRu/WZtP7t18piz4YEmIHwy/tI0gZR sFZdzglXJseryJOLMdrJ5exfVISANMmKPIL/0uaLop3dhoG7Yrc5Jf/3jydIIjtW1m+c7//krdu8J WcuBOqTaTmwF4/zf8P/kjsvsXxwz6h6GFUESULWcHUFRxnpqL3FA8yeVcZfolq4HypiwDyFI2YGwW SAZCqpg278PxEuhQfVfw6WJuq7P7/k49lUUWGbEf+w8xrUK6mWbYRvkyiukugq60V8Rf3CjSCFItJ 575JP4yiA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lZa9R-00GsFC-Tw; Thu, 22 Apr 2021 14:17:54 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lZa9N-00GsDB-ES for linux-arm-kernel@desiato.infradead.org; Thu, 22 Apr 2021 14:17:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:CC:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=+QeFwgSZcZvSnHvwP9NbzZ+9fb3TLz4c9lcf8n/o5+k=; b=vysX6QjG/s6V1sTFpn+rbZAqwG nJYWqDYuYhIv+5jTMptaDqbCKxToLfKa/YYKZbhFioms/6iSPQa22Yy+CCO5SZfEjBZc8qdXiYK57 vQpPhFNumgLl1TJ4Y/nu8SBAqdEM/LfPI5bj7UwzR53UK2c7Y33FSn+4Gop6+/9YBdVXtdFRwgnke lgD4Q9n1721jKg8XtD2hjT/sW7yC3lBZ8arD6hUaH4jcdj1t0vd0Xo/P4PHPVsyQZNrDt30iK3xHd FFqRBBp+UQtp01zuN8VQnlewZVo8pMLChA1JYtGICS/H+Bc/gSH96jOdyWKyDo+6CUW09vJT3SmlV NfX5g3SA==; Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lZa9K-00Dkgk-P5 for linux-arm-kernel@lists.infradead.org; Thu, 22 Apr 2021 14:17:48 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 13MEHihS073442; Thu, 22 Apr 2021 09:17:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1619101064; bh=+QeFwgSZcZvSnHvwP9NbzZ+9fb3TLz4c9lcf8n/o5+k=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=x1FobscePt3LhRtFpyS7l2/hNpjxoOuSm1MNj+kKlrZFIHyGokye5Esc2+CzV1Ytv VBcrsql3vk8E+kclPFCp0bCcUoS+A/Ad+04OQkwQdRmVv69AIB9cJytm4S9JFSe+uN SPcwBAFuMZ3XnwioR5Xm2WlCCpehtEeYf+B7qym8= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 13MEHiqo064493 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 22 Apr 2021 09:17:44 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Thu, 22 Apr 2021 09:17:44 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Thu, 22 Apr 2021 09:17:44 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 13MEHi9N099695; Thu, 22 Apr 2021 09:17:44 -0500 Date: Thu, 22 Apr 2021 09:17:44 -0500 From: Nishanth Menon To: Rob Herring CC: Philipp Zabel , Stephen Boyd , Michael Turquette , Santosh Shilimkar , Tero Kristo , , , , Subject: Re: [PATCH 4/4] dt-bindings: arm: keystone: Convert ti,sci to json schema Message-ID: <20210422141744.2imrochbzzt26wx4@slush> References: <20210416063721.20538-1-nm@ti.com> <20210416063721.20538-5-nm@ti.com> <20210421224041.GA1740292@robh.at.kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210421224041.GA1740292@robh.at.kernel.org> User-Agent: NeoMutt/20171215 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210422_071746_921741_6EA97BF8 X-CRM114-Status: GOOD ( 11.26 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 17:40-20210421, Rob Herring wrote: [..] > > +allOf: > > + - $ref: /schemas/mbox/mbox-consumer.yaml# > > Drop. > OK. > > + reg-names: > > + description: | > > + Specifies the debug messages memory mapped region that is optionally > > + made available from TI-SCI controller. > > + - const: debug_messages > > Drop the '-' and fix the indent so it's an actual schema. OK. [..] > > +patternProperties: > > + # All other properties should be a power, clock or reset controller > > + "^(power-controller|clock-controller|reset-controller)$": > > + type: object > > + oneOf: > > + - $ref: /schemas/soc/ti/sci-pm-domain.yaml# > > + - $ref: /schemas/clock/ti,sci-clk.yaml# > > + - $ref: /schemas/reset/ti,sci-reset.yaml# > > I'd prefer you separate these with a property for each node. Hmm... I am not sure I completely understand your comment here. I assume we dont want to duplicate each of those node yamls, so, did you mean something like: ti,sci-clk as a bool property in the tisci node and if present, then expect the node ti,sci-clk node? Can you give me a hint of similar yaml usage elsewhere that I can refer to? -- Regards, Nishanth Menon Key (0xDDB5849D1736249D)/Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel