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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 99E15C433F5 for ; Tue, 12 Apr 2022 18:17:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1358686AbiDLSTb (ORCPT ); Tue, 12 Apr 2022 14:19:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1358679AbiDLSTU (ORCPT ); Tue, 12 Apr 2022 14:19:20 -0400 Received: from mail-oi1-f180.google.com (mail-oi1-f180.google.com [209.85.167.180]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 242055FF23; Tue, 12 Apr 2022 11:16:59 -0700 (PDT) Received: by mail-oi1-f180.google.com with SMTP id r8so19868771oib.5; Tue, 12 Apr 2022 11:16:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=B/dD6BxwqxnSz+VcY4c2wabU7PRBtQ+7ZYvEK2V/n/0=; b=Z3rZkvYaOf7QF97iaQI0rtaICY6T1fwMtagJA11oN3E6S7Oh8XkfhQMyIP3d+mxAPO oemohB7TH1IpoOy+Y44O30wwkh0rlgF6+wlCjQSJlnQcioiyeBPE9XY7RP3tu0mxwcoS PCfIWy/wnDyn6j0bRbSmvnoMK14e92SVaDwJmvBwPXgzVvZ0snmRGStZvvr/1+PtWCy7 OuG48w7uqwWm+uefk3ahyJdYyw5PxGbV7r6uiGbWjfdPi7dZwZfS3RRAaCDb1VA3WATM w1hJ0ASz/WEXBd4dIoNYDPvWnf+w3Ik+BOcZtEEGtUcnPQD7BF+VPot1lwBS6K8+LZLX wgDA== X-Gm-Message-State: AOAM530t6HhfZfyU0IK3llZ0Fmxw37EgF1w9FlrTNJOzB0hLh2p9GW6+ j6jy0m0sBo91mGA5WnwCYg== X-Google-Smtp-Source: ABdhPJyWiCDJPCkWuVz9Fx0GQ1Bg4Kblx5fgblku4RjTzvAtN+tPP/TaP+yKykeEeMtxSKbgz9oFUw== X-Received: by 2002:a05:6808:1592:b0:2f7:3095:b7fd with SMTP id t18-20020a056808159200b002f73095b7fdmr2485382oiw.190.1649787418243; Tue, 12 Apr 2022 11:16:58 -0700 (PDT) Received: from robh.at.kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id x18-20020a056830245200b005ce01c28c77sm13599954otr.1.2022.04.12.11.16.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 11:16:57 -0700 (PDT) Received: (nullmailer pid 566579 invoked by uid 1000); Tue, 12 Apr 2022 18:16:57 -0000 Date: Tue, 12 Apr 2022 13:16:57 -0500 From: Rob Herring To: Javier Martinez Canillas Cc: Geert Uytterhoeven , Linux Kernel Mailing List , DRI Development , Neil Armstrong , Mark Brown , Andy Shevchenko , Chen-Yu Tsai , Daniel Vetter , David Airlie , Krzysztof Kozlowski , Maxime Ripard , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" Subject: Re: [PATCH v2 2/5] dt-bindings: display: ssd1307fb: Extend schema for SPI controllers Message-ID: References: <20220411211243.11121-1-javierm@redhat.com> <20220411211243.11121-3-javierm@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 12, 2022 at 10:12:32AM +0200, Javier Martinez Canillas wrote: > On 4/12/22 10:07, Geert Uytterhoeven wrote: > > Hi Javier, > > [snip] > > >> > >> Do you have any hints here on how I should enforce this in the schema ? > >> > >> Or if you think that a comment is enough, then I will add it in v3. > > > > I don't know how to make it required for SPI, if possible at all. > > > > I see. Let's go with a comment then and we can later enforce it, if someone > knows if is possible / how to do it. It's not possible unless we annotate child nodes with something from the parent. '$nodename' is the one and only example of that. Really, this falls below the bar of what I'm concerned about checking. Ask me again when the conversions are all done (only ~2K to go :( ). Rob 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 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 96555C433F5 for ; Tue, 12 Apr 2022 18:17:00 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AA94810E539; Tue, 12 Apr 2022 18:16:59 +0000 (UTC) Received: from mail-oi1-f170.google.com (mail-oi1-f170.google.com [209.85.167.170]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0B30D10E539 for ; Tue, 12 Apr 2022 18:16:59 +0000 (UTC) Received: by mail-oi1-f170.google.com with SMTP id q189so19836580oia.9 for ; Tue, 12 Apr 2022 11:16:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=B/dD6BxwqxnSz+VcY4c2wabU7PRBtQ+7ZYvEK2V/n/0=; b=WkWzSxMEQrZnTHuKb6h466q6k00krr0YEt7IKyQMoR07OyiRAR2OwVZzj+SGGdF3u6 KJUCC6QA6JFVseAm/TfeSlRcHjfrnLZ81wkjOgaznb/FJE0GhLHAxliEt0VPdOQyNimV WEYij41zxLi5OCZHgZORpYMgMWYfAQEz1UAaMdu3MdRWNpJbcF2kfae8QBiBkKE8LHvK QiO7aY7Tvemht03gLc9zyqc2TEwPPFSWVhtJaZkCPZJZ/A6IeBfOFUAII7KoKiFtS/qf KKBqB2aR0xlvoSW7/YKK7XSC6Ud5I03aAGjdtJsiN/3RCwn9KkaemH9kPR8BfMJ5OHWY 7krw== X-Gm-Message-State: AOAM530qfRgZTPkraCs8NgJzbYgtZBsAmlU7hQdtZ0cLMbSuc7xM0b0Z eRAIzGVcDrX/jumBlch/qg== X-Google-Smtp-Source: ABdhPJyWiCDJPCkWuVz9Fx0GQ1Bg4Kblx5fgblku4RjTzvAtN+tPP/TaP+yKykeEeMtxSKbgz9oFUw== X-Received: by 2002:a05:6808:1592:b0:2f7:3095:b7fd with SMTP id t18-20020a056808159200b002f73095b7fdmr2485382oiw.190.1649787418243; Tue, 12 Apr 2022 11:16:58 -0700 (PDT) Received: from robh.at.kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id x18-20020a056830245200b005ce01c28c77sm13599954otr.1.2022.04.12.11.16.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 11:16:57 -0700 (PDT) Received: (nullmailer pid 566579 invoked by uid 1000); Tue, 12 Apr 2022 18:16:57 -0000 Date: Tue, 12 Apr 2022 13:16:57 -0500 From: Rob Herring To: Javier Martinez Canillas Subject: Re: [PATCH v2 2/5] dt-bindings: display: ssd1307fb: Extend schema for SPI controllers Message-ID: References: <20220411211243.11121-1-javierm@redhat.com> <20220411211243.11121-3-javierm@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Chen-Yu Tsai , Neil Armstrong , David Airlie , Linux Kernel Mailing List , DRI Development , Mark Brown , Geert Uytterhoeven , Krzysztof Kozlowski , Andy Shevchenko Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Tue, Apr 12, 2022 at 10:12:32AM +0200, Javier Martinez Canillas wrote: > On 4/12/22 10:07, Geert Uytterhoeven wrote: > > Hi Javier, > > [snip] > > >> > >> Do you have any hints here on how I should enforce this in the schema ? > >> > >> Or if you think that a comment is enough, then I will add it in v3. > > > > I don't know how to make it required for SPI, if possible at all. > > > > I see. Let's go with a comment then and we can later enforce it, if someone > knows if is possible / how to do it. It's not possible unless we annotate child nodes with something from the parent. '$nodename' is the one and only example of that. Really, this falls below the bar of what I'm concerned about checking. Ask me again when the conversions are all done (only ~2K to go :( ). Rob