Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2049994ybi; Thu, 20 Jun 2019 08:18:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqzeZgSrh0ATuUEmOqPymhJ0Qgwe3wLVtK3S1tVARplJLRHqssCiq5AkZ7KIIZIwlM3b2QZm X-Received: by 2002:a17:902:29a7:: with SMTP id h36mr74729604plb.158.1561043908650; Thu, 20 Jun 2019 08:18:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561043908; cv=none; d=google.com; s=arc-20160816; b=PpTr1oJV/D30Fx7vYob93aHh3/vgbzlsbQULOXtBJX34w4yWyd0265+G3w2DHmpkHs p4gkKWxdBYhcucgJyKuvl/wUJe0TzuBBQmHHU4BkcOBgtLS4Rkg6JfdDRF/iF6j+72Ep P79rzMBRCAnBAjLd4ngzfcLizulmOsexUT+PGcsMizBjFuFk7Gz/hjvOM0c6ca+eD0NB 44Exc9Chev0tx+CXYqJD61GPpqaCqPpLN6A0Gl+kSbcUg8bpiap2DLcB8V8eqcjjB+Rr OaAVfIa7lpfxj4Q+ZxYA888HbTAwCxAp9b47/oF0H/U5DrqLggxMZJlI6wkNoJwt18HP SFfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=kqza+dMOoVNjShbz0wsIGK4HV5GBcZakWICkYSesXsE=; b=Kc1dTVXtVuxq4bLXQr70mfdoB3VfMHzNlBy2/TdGi8zO6vxGtN2IV+f4Q1gDIhiAgl 0G4QPvcPv406RMX3vkY2AT0J9saIJFTstL3O1UqMvfS478vSC9QtU2Q6khGjTkNpY5kH tTczHlrPx90fr7RF/I2aW4tRtnFmLR2JaB+c41O3OGK8msT/n8qgaFmRVfuE47qX4fAX nUTyeieUYMiYbzNm19UgXWrtRktEozVl7W1ERB1EMt7JbFBqickFhPnqlb8uWbeapj2o yiTBz9m6hKAwJTufshkGGzWA7Tt/HbIp3MKSKOIgmVDGnTQEiymxPElxL8rqOn1QhrKt 74cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=KNzeo49v; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x4si45041pju.0.2019.06.20.08.18.12; Thu, 20 Jun 2019 08:18:28 -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=@kernel.org header.s=default header.b=KNzeo49v; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731995AbfFTPQE (ORCPT + 99 others); Thu, 20 Jun 2019 11:16:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:36372 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726512AbfFTPQE (ORCPT ); Thu, 20 Jun 2019 11:16:04 -0400 Received: from mail-qk1-f178.google.com (mail-qk1-f178.google.com [209.85.222.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 841C920B1F; Thu, 20 Jun 2019 15:16:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561043763; bh=kqza+dMOoVNjShbz0wsIGK4HV5GBcZakWICkYSesXsE=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=KNzeo49v0vOTjS2EQy022uLMpxcHWlEZ8M/of+GzhByi2foYnofiszsQLaOAWX1E+ 92sv4Q3VOAyaO3X54baPuk2WiQgvWv4I8dE8Bq4BhdNlpDgRiPeh0uXFH2OKBr6Pd6 MnyCxa39GPOFV9GQx/Rx/2+c4Qxl4v4vTwujINvc= Received: by mail-qk1-f178.google.com with SMTP id i125so2150192qkd.6; Thu, 20 Jun 2019 08:16:03 -0700 (PDT) X-Gm-Message-State: APjAAAUaVP00cy6LhlJPLD4lQOzedICyisV0KUrdG/cjOqD8E7lRFmjs 18kKEVP7/IW7pJqgP7pKCFFPimf7Au84ULjdVw== X-Received: by 2002:a05:620a:1447:: with SMTP id i7mr11428589qkl.254.1561043762664; Thu, 20 Jun 2019 08:16:02 -0700 (PDT) MIME-Version: 1.0 References: <20190619215156.27795-1-robh@kernel.org> <20190620065508.GA24739@ravnborg.org> In-Reply-To: <20190620065508.GA24739@ravnborg.org> From: Rob Herring Date: Thu, 20 Jun 2019 09:15:51 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC PATCH 1/4] dt-bindings: display: Convert common panel bindings to DT schema To: Sam Ravnborg Cc: dri-devel , devicetree@vger.kernel.org, Maxime Ripard , Thierry Reding , "linux-kernel@vger.kernel.org" , Laurent Pinchart Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 20, 2019 at 12:55 AM Sam Ravnborg wrote: > > Hi Rob. > > Thanks for starting the conversion of panel bindings to yaml. > > On Wed, Jun 19, 2019 at 03:51:53PM -0600, Rob Herring wrote: > > Convert the common panel bindings to DT schema consolidating scattered > > definitions to a single schema file. > > > > The 'simple-panel' binding just a collection of properties and not a > > complete binding itself. All of the 'simple-panel' properties are > > covered by the panel-common.txt binding with the exception of the > > 'no-hpd' property, so add that to the schema. > > > > As there are lots of references to simple-panel.txt, just keep the file > > with a reference to panel-common.yaml for now until all the bindings are > > converted. > Good idea. > > > > > Cc: Thierry Reding > > Cc: Sam Ravnborg > > Cc: Maxime Ripard > > Cc: Laurent Pinchart > > Cc: dri-devel@lists.freedesktop.org > > Signed-off-by: Rob Herring > > --- > > Note there's still some references to panel-common.txt that I need to > > update or just go ahead and convert to schema. > Better let it point to the .yaml variant, so this patchset does not > depend on too much other bindings to be converted. There's only 8 files referencing panel-common.txt which was why I was debating just converting all of them. > Then we can start the conversion of the remaining panel bindings. > Any tooling that helps the conversions? I have a doc2yaml script that helps with some of the boilerplate. It's in my yaml-bindings-v2 branch[1]. > When this hits upstream I assume all future panel bindings shall be yaml > based - so we have a few pending contributions that need to do something. That would be ideal, but not strictly required. For pending things, no reason to make folks redo things. Requiring schema really depends on whomever is applying things to run at least 'make dt_binding_check' before accepting. > > For the actual conversion below: > Acked-by: Sam Ravnborg Thanks. Rob [1] https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git/log/?h=yaml-bindings-v2