Received: by 10.192.165.148 with SMTP id m20csp3514901imm; Mon, 23 Apr 2018 07:51:37 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/cKXU6+gngAYHtw+fXu19B0kMjjwQABXQ9wbf4kpzika23ondtVff8nuTYeKai+KZhfEKf X-Received: by 10.101.99.6 with SMTP id g6mr17275726pgv.173.1524495097345; Mon, 23 Apr 2018 07:51:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524495097; cv=none; d=google.com; s=arc-20160816; b=EiNYls04S+YLeEonme+qgPf5t2v/8ARaXv15+Av6G4snhUdOOwRvFUnk4jbb36OzhC atuRXlqLMVrlzmLAaCg0kJXr3PhMhWDfZjUpCWb/tlbz+DXC2myN5Yk9XojQm/zA4OXN 6O98Bqr2nNWAWBknGcJxiUtaWGSsSTiusAQqc1Ogap4l3dQZilPCwxXBkgnTtC1PXmuX ygiX+Q8BGGfq7tNv9oaLPQUrOChXpDnMvqXh59YvF43sQjU3MA5CzMPoFtvUFnuB4OAp TTv+L1iu2kbjTQ2p++8/IAjH/0jE7nPgGUWeAx5cgkbGVDHFLLta72Ia0SfdO2HCcbqB 2WBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:arc-authentication-results; bh=MoVQHF/D1y7AJH4my8qOpCusY/6h21NhjVuckAzOYKg=; b=KVmRtomEYScpE16aNVxlpv+TBDWLlQTlPU1XbxgN3g+fHmF4GzmV+QzNMymT2prYAC 8jqTNO2WP8OIA7L6LARbB9RdjVYHRam/h/JTOY/a72lXX26FaM/RJ4tEgqaP2JiJ3yw6 sblM5/Dq0lo8OPF0XfosgJwIcmNtFXqX2YG3StU9VkbHV0h/3etXougQJ7ASq+TVGl4q 0+nAuKm/iZ3fn0OBLcmadmTloVZnfpQhye4ASEbNEAN6Q7A0hzO11zFDOZZCwTE//OBj eu01f97Px0cfaivSdawn1Lmwm/XoWZqcsbXU7pquPqVHGP6b1nHihWB/2/ZD6GuVuSpc 0+Zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector1-arm-com header.b=Wnb6RnGQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z84si11687861pfi.240.2018.04.23.07.51.23; Mon, 23 Apr 2018 07:51:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector1-arm-com header.b=Wnb6RnGQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755554AbeDWOtq (ORCPT + 99 others); Mon, 23 Apr 2018 10:49:46 -0400 Received: from mail-eopbgr50084.outbound.protection.outlook.com ([40.107.5.84]:39698 "EHLO EUR03-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755414AbeDWOtn (ORCPT ); Mon, 23 Apr 2018 10:49:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=MoVQHF/D1y7AJH4my8qOpCusY/6h21NhjVuckAzOYKg=; b=Wnb6RnGQP7GkzzB7dKKjzB49aswZFjqKc9LSTMlWgBU0sTCTlHJiyuZAjnpLJVhIDS/rJmqX32zvTAQT0lCNU9ez6f0plovk0tCxVylH7lZ2U9+ZyBaiFKUmxD3U80wx0iigU+JNPB2a/XIkU17WHPR2XUj4ouHdccQ+tDc8+PQ= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Grant.Likely@arm.com; Received: from C02T10KAHF1T.secretlab.ca (217.43.212.223) by AM5PR0801MB1746.eurprd08.prod.outlook.com (2603:10a6:203:3b::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.696.12; Mon, 23 Apr 2018 14:49:38 +0000 Subject: Re: [RFC PATCH] dt-bindings: add a jsonschema binding example To: Rob Herring Cc: Stephen Boyd , devicetree-spec@vger.kernel.org, devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , Frank Rowand , Mark Rutland , Geert Uytterhoeven , Linus Walleij , Thierry Reding , Mark Brown , Shawn Guo , Bjorn Andersson , Arnd Bergmann , Jonathan Cameron References: <20180418222905.10414-1-robh@kernel.org> <152424282214.46528.2511757264045171935@swboyd.mtv.corp.google.com> <152426770474.46528.1592920281091105196@swboyd.mtv.corp.google.com> <63a1c096-7d78-3850-83b7-94c6009e93f0@arm.com> From: Grant Likely Message-ID: Date: Mon, 23 Apr 2018 15:49:36 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: quoted-printable X-Originating-IP: [217.43.212.223] X-ClientProxiedBy: DB6PR06CA0002.eurprd06.prod.outlook.com (2603:10a6:6:1::15) To AM5PR0801MB1746.eurprd08.prod.outlook.com (2603:10a6:203:3b::12) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(2017052603328)(7153060)(7193020);SRVR:AM5PR0801MB1746; X-Microsoft-Exchange-Diagnostics: 1;AM5PR0801MB1746;3:WD8+XNGvv1mF07D2M82eQL6qEKoVXXAKQHoGuaEt5++nSh0KxWvR/2SqIA/of6mniOCFKyuhG6p95XJ9iDoxj/y1B2BeVefn027iePdeJUiE6b8/pE2kQFd11mpHvqCh6jLJAj6pAH/UbnyylDkHybeKfRO3FFGelzY9RTxb5gVUpm2q+liZXt7xqPyF/XztEBs3LcKFOu50+sS8B/nRs1SlPeQBNNLXhPrFtLXc+8UoFdq47O+nhlRqLnD5j40b;25:xkCN4+rlodCbR/V510dbKn7mijhhok6Rz8+qjSZcdQdvZU6riFNYL5FikILwxZyz5u2+jh++BewHNWR11aO3mUzmLkyrU3CIjmM8FtshNTS4YfqGzN3DTnRhNVAVKuxTkkSb30W816pckQzMvgNIrDuIEQ/d4TuQR/9nvTnLYb9SZQOhn7LYJTuE2Ih6ov5WhFHPDFivnlTwWSTvk1OU8bNa9njNTHJL+HIbGCksfxeeOBjsVLCLD5qqmnqZ6dEoD3Is7WsIn4ARF/xU064782CNbSsOvgWtbM8IDwGUdFMTP7cM5sOvbX8Jw7Eocfnfs8LNKVEramMvVT+UOwQCeA==;31:/ryuyc4zBYNHJLsBiXtW5N7UeZGTI40XP3MCWxJxTP99itzi7AsOFQCPTKaqB45rtqFX6Gdu7ikvzWHMAQKmgi/qzhXEExEElHYzyBb0vRUlq0M9Jc1E9Ni0XiMtLodd5OGaJf5QZW5VOSA4OWkKCxPANXkH8t9xUIgvr0B9i0Kj9u8Dg3GzvQdgawCSYs5vaEANrob2u5r7THw8oAddaXSbIFLqD5XSC4WB72q89cU= X-MS-TrafficTypeDiagnostic: AM5PR0801MB1746: X-Microsoft-Exchange-Diagnostics: 1;AM5PR0801MB1746;20:iOxUnI2OlmUHxgk40dKcwWjGlbRUe9CmcNKXfPnL3HjgWAcQmSTUje+JRIOm2nFAC8IKYQFTOAuXR0n22ckZBRaQOUctWIkGLgSOc/zvQyBke040lyPAhLDKKxwsj8Ft9UIo5CN8LEHAXPOyG68cjWc/LKlzI7t7Qpx2qTD5RDGGCDVhPbhwVpeXuMGXRWs/yn8G9eFn64fi1IgiSX3XOk1sufLHYBzbuDSb45w2F7vGsd3dWiXIgBQr9Mw8CNwpD8aBE6vK3S/L4d+0E/dQsUib5poF/ptmpXuTYCk9UWvLHm8CPm6FOY2R53GXtyWRb9Nmo7AooVlTKa/oYFlRvazKXOk7NAJOaX+EJfViMbICEmJBKM7dCXo3zj6ThYGmMClDjb9Oifc7owCCPRWgT0u+Ocva0RpVMJQIdFjcqMDpeN/n6WpeLLmnDfGQtQc+A2nxqZ8mkozF3OBzpme0FTHi+tCcCV7EKyqeFT4Ntw+UkMNad9lsATmMxV5gBGr9;4:BaQfeoBTPAdfB3ChpIcvXlWZV2vixf82C7vgRUMcfNItm/jc3ir/62KIDHesW1lalsuY/0EQZtQ5ujGfkImQALE5fQPMgumY9f01jSLVdc0pHiyOJkhEB7Rr3iNuCHP8jJL5D6EOhHe0Vz2aHMM+saeQU0/+J2s9W5AKjRgn+qL7ydmGi9U7aFosI1r11TblxTahqzSHSWJEfrpkudELsEMH412MvdiznambfDEvw6kRLhJkksw1Ik2JvyJXLXw/0KoG2WQSXQ4NiT0ZKJXJoBXxHaGcU3n5rARRCLpGpeTbxV2Xr3F4221W52JVLA4R X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231232)(944501410)(52105095)(3002001)(93006095)(93001095)(10201501046)(6055026)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123562045)(6072148)(201708071742011);SRVR:AM5PR0801MB1746;BCL:0;PCL:0;RULEID:;SRVR:AM5PR0801MB1746; X-Forefront-PRVS: 06515DA04B X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(366004)(396003)(39380400002)(39860400002)(376002)(346002)(377424004)(51444003)(40434004)(52146003)(39060400002)(65806001)(476003)(956004)(186003)(76176011)(26005)(59450400001)(6506007)(25786009)(6916009)(53936002)(16526019)(31696002)(53546011)(44832011)(65826007)(305945005)(5660300001)(7416002)(446003)(4326008)(11346002)(6512007)(229853002)(6246003)(2906002)(386003)(23676004)(2616005)(478600001)(54906003)(8746002)(93886005)(58126008)(316002)(8936002)(64126003)(81166006)(6486002)(53416004)(66066001)(3846002)(2486003)(47776003)(58726001)(72206003)(575784001)(36756003)(52116002)(7736002)(65956001)(86362001)(50466002)(31686004)(5890100001)(67846002)(8676002)(6116002)(58736002);DIR:OUT;SFP:1101;SCL:1;SRVR:AM5PR0801MB1746;H:C02T10KAHF1T.secretlab.ca;FPR:;SPF:None;LANG:en;MLV:ovrnspm;PTR:InfoNoRecords; Received-SPF: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtBTTVQUjA4MDFNQjE3NDY7MjM6Nm9EWUk3bkpuODczNHpFNDVBbmxIdm00?= =?utf-8?B?VHVuOGN4ODE1SGtyQ2ZWSTNFTWxNbjlRNTlQOGN6QUVod1RaMHM5ZWt4akhN?= =?utf-8?B?aURiQklaYzRjSTlFYmRWK2h1SXNidkI3SWZ0bVZtVUZGVCtscm1oQ2dsL2Fv?= =?utf-8?B?bXRrdDBrd2VYak1nWDJLcUVyNUtpMjcrK1U2YWtTa2FvSnE5Y2ZkSVZYZUIw?= =?utf-8?B?S3I4d1JlT3J2YzFwZEwrOFBpZ1YxLzZ0b09HdlRuR3RwRFpTQnBlRkErTUtu?= =?utf-8?B?V1N5Mm1LckZ5Yy9HU0hLcHo0eEpuTGRDTE00bU1nUktBNWYzRDVIM3czd1Fs?= =?utf-8?B?ZVh3UzVBZHE2cDB1L0ZlUWZaWUhobnNTelUrSDVvejNQcnhtTFRQRDVBdlZh?= =?utf-8?B?Z1dkb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mAdxSjdVMpfSj4IA6YuClZNJgkzKPgGkikVSGfgxFmx9SI6al1bTJmRFlmV39ru9V20IgN0/nCJtzEPktzD1lh8GTsJfvcaNrOMm7Gi8JD+HGErRgGg2kjPZEV0aDAGNa+v2iHe1JIMsz8ZG8ODMZ/v7oTSSiy0BULVVknYPgzSUNq1n1m0NTQ0ed4jLrRnnMdC6Tx3AKt X-MS-Office365-Filtering-Correlation-Id: caf3942a-ba71-4910-8a66-08d5a92970f6 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Apr 2018 14:49:38.8158 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: caf3942a-ba71-4910-8a66-08d5a92970f6 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0801MB1746 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23/04/2018 15:38, Rob Herring wrote: > On Mon, Apr 23, 2018 at 9:01 AM, Grant Likely wrot= e: >> On 21/04/2018 00:41, Stephen Boyd wrote: >>> >>> Quoting Rob Herring (2018-04-20 11:15:04) >>>> >>>> On Fri, Apr 20, 2018 at 11:47 AM, Stephen Boyd wrot= e: >>>>> >>>>> Quoting Rob Herring (2018-04-18 15:29:05) >>>>>> >>>>>> diff --git a/Documentation/devicetree/bindings/example-schema.yaml >>>>>> b/Documentation/devicetree/bindings/example-schema.yaml >>>>>> new file mode 100644 >>>>>> index 000000000000..fe0a3bd1668e >>>>>> --- /dev/null >>>>>> +++ b/Documentation/devicetree/bindings/example-schema.yaml >> >> [...] >>>>>> >>>>>> + interrupts: >>>>>> + # Either 1 or 2 interrupts can be present >>>>>> + minItems: 1 >>>>>> + maxItems: 2 >>>>>> + items: >>>>>> + - description: tx or combined interrupt >>>>>> + - description: rx interrupt >>>>>> + >>>>>> + description: | >>>>> >>>>> >>>>> The '|' is needed to make yaml happy? >>>> >>>> >>>> Yes, this is simply how you do literal text blocks in yaml. >>>> >>>> We don't really need for this one really, but for the top-level >>>> 'description' we do. The long term intent is 'description' would be >>>> written in sphinx/rst and can be extracted into the DT spec (for >>>> common bindings). Grant has experimented with that some. >>> >>> >>> Ok. That sounds cool. Then we could embed links to datasheets and SVGs >>> too. >> >> >> I'd like it if we can define the description text blocks to be >> reStructeredText markup. That makes it even easier to integrate with the >> specification documentation. > > I think that's going to require thinking about how each binding is > integrated into the spec. We're only talking about common bindings I > presume, but still we have no model defined. For example, with > properties, I'd assume we'd want to generate a table of properties and > we wouldn't want the property descriptions in rST because the > description becomes just a cell in the table. So we need some sort of > template. > > Also, how do we validate that description contains valid rST? No point > requiring it until we can validate it. Indeed. Part of that was me thinking outloud. Need to actually get it working before adding constraints. g. IMPORTANT NOTICE: The contents of this email and any attachments are confid= ential and may also be privileged. If you are not the intended recipient, p= lease notify the sender immediately and do not disclose the contents to any= other person, use it for any purpose, or store or copy the information in = any medium. Thank you.