Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp1680768lqg; Sun, 3 Mar 2024 23:36:32 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX/PxGzvfSeIagniAtOpoBkyeE1FH/jwo4aExk3mbTPa+n+F79ygp3EH+0pBTpC8kX08stwoGNL2s0ylIbd+F6yrVK9SCUtrIwrmmOekA== X-Google-Smtp-Source: AGHT+IG6Qr3Vn4JgrfITaBmk3Y/ICbn/pGOE/Kiisp77IWe7QsxvRRkgKxDH2eRyMSuDeyHrnrpC X-Received: by 2002:a17:906:c7c3:b0:a3f:1b49:c92b with SMTP id dc3-20020a170906c7c300b00a3f1b49c92bmr5892217ejb.48.1709537792755; Sun, 03 Mar 2024 23:36:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709537792; cv=pass; d=google.com; s=arc-20160816; b=bfZb7irJJDEjaox63ZmXRYf7t2vGTNnLG6QpHD3Zg0upotfbecYFC2y0oyR3E7w/Zw KZrOY8gEAb7Wd+3X3p3XFAN+3ENf15+vWgAhxvEtg3rV6w7RTMERcLn5TU+NxMmiI/lC qyGVd8A8FXR2Rn7J75rzE/CRwoJLL23gjkUnQtqdk68KOoHEl6uhvZyIf52GhrwNmmTc HJbSMvIMEb+9KFqtdzQLwC+ZglfKnecqMSgIhAV2TMqbnED34qg4CGpQOnLJO5ALFbgG HgLrKHMSlWYG9FWzb5uEVYJiAS/WpQVt2DDzwNyUQgfYR1kmgPYFrU9F7AYyy9Jb1/aB TEyw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=O4FlQyVTG7p+3ARaoCOGwbmy/932YEedHD7xhr0/eEY=; fh=6wAnp9yy0YWXOUyaVwgZKt24jX/gvVtYTbY2i6QgvAs=; b=ZSbcvCr2vYLksj9n2jCx1GtPJN6uggptAXaEw3uKsIgPoZkN1B4chaj5ArvQG+myC0 M8i1om66R0zA9CqZRepnRfKVF2p9/SAidcow0bP4b11vuBfYbLT+4k4aZi3SieLUiSUm LZQAHzCmAsnlZh1MdLefSivJ8Z9whh9AKN/x/hrrG/4d/6qXf7cLFnrXjAquglKe8zl4 MzLTV82FNMLdCpV645eKS3seioBAByJAw4Maorfn27P8tC+uB3Z4NpchO9edPHczWF1/ XMfmrbHe9+sAx2Vxt7rjfsIKHjb6ihBBzeeEwR/GAbQTSlOMapqC2lLHxCtH8GWENr+7 /W1A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DC1rQkFq; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-90141-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-90141-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id y7-20020a170906470700b00a43ada8abbcsi3801839ejq.612.2024.03.03.23.36.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Mar 2024 23:36:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-90141-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DC1rQkFq; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-90141-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-90141-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 2DB4B1F228C7 for ; Mon, 4 Mar 2024 07:36:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 983BE14017; Mon, 4 Mar 2024 07:36:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="DC1rQkFq" Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A444713FF0 for ; Mon, 4 Mar 2024 07:36:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709537781; cv=none; b=UnmWTe3MNh49fVyrA8AyrbPxF+HwK3Yo3JVw7aVufv2jBryfynVmdIrA1DsDkATpxV6B2fx83FkEH4uWsPTgNCTcJu3BKnJDBZwQqhyMrnBy+Eg0dXRJNDjZDbmizBuEnWAi54ei4noY2Cb4okJIZ5Kalf5aLJ1e4fSBMm0mH4s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709537781; c=relaxed/simple; bh=zXQlhn1OKr5ZhbfALUDNhNe8VoKcA7jALtchFjIzMzo=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=AX+E4aQCnkdvJESkiowEv3mZl6gwNY3kWydI0BRmgFulUiWNqACB2bJbx2uVnLEpureiZmYPKwqaJgcKGJap2Z28+QpRfO+SLlpYNSbA4zszDqR81tTn2SgEiAAClEqpxv2lqb+umXrWgQcDhHoChqFNarbgfngRrUMrcmv/k6A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=DC1rQkFq; arc=none smtp.client-ip=209.85.208.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lj1-f173.google.com with SMTP id 38308e7fff4ca-2d24a727f78so49951611fa.0 for ; Sun, 03 Mar 2024 23:36:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709537778; x=1710142578; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=O4FlQyVTG7p+3ARaoCOGwbmy/932YEedHD7xhr0/eEY=; b=DC1rQkFqxESWweJWvb1PZ2fTBBUm9wom842hGVoYS8C/KivfTn4napHnvTEMzC/SrP BL1Fwl49IUBbrkoUh0IMyVWTc15M8ZiyyBWRIzMgQmwalQL3HeaPhnRLG1MnAiSZi9Wh RMHvqmGaci/xrwjYgmzvmWTZrL8Nm6DklQymi/MiZDvb6XOJx0DxSnYGRLpeleE8H2LC z7XRrQPraeZ3y8E+E4SuCAvdt7AIFHTuVt+jmR9vEsgmFnY+ZAUlTX12PAPR9oklmbPJ u2w8xig1hxlGz1ZdZ8xmPyZM29BAbuv2/lmSqkbWIhDeqZoOOHSGtUMkLxSEjcbhme8Y umHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709537778; x=1710142578; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=O4FlQyVTG7p+3ARaoCOGwbmy/932YEedHD7xhr0/eEY=; b=DLXgN5hCTDfjnF0A/6OonQe+A+tTzZsAfcPjRfC1wWjoQI7W0wqycqx5h/HdO+aqTr LWCVDkuVl3w4q45Wc6zfapaoXqwkhGrcsJFcv+JZj89any/DCzj0M9GzKTrSfjXHcC/O N0xFhaX6HSHf35B9aP53kIlxSRyDsin/URPXIH9qJoBweumZtLB0z4ShOfBU1hQemjFi Jhz3fNkKM/CNYWixAF9B1hBRtOTzqWPBM5vFWWgstCS9cOfWKxNn0rpm32oGsanc1WGT Q0broe/8umuGWi0OZMtWrwQtIFeBIckksESknn3nQzwfMsJ6CkoIo04ySJBJmUcN/kHo 07cw== X-Forwarded-Encrypted: i=1; AJvYcCURvHJEXbiG8lMg4hC08C6zG95aJFWRiRhWyZFkhHvZ2lH+jhcEcZHSAggVzdhXHEnXILaJi0CjoashQgQ8dT8ek97MMAk8V4BvHltt X-Gm-Message-State: AOJu0Ywls/qah/EPIkPT5N+k3E2Bj+JsAQzYFv0rfa5XK0sO1vXyUdqI uMMambOUo/CUAu/880N38VAMJ69xkeomuIcpRtBlAoltZHEdJI0MPDfyTCvMUL7xbX07oK8lyUQ P X-Received: by 2002:a05:651c:10a1:b0:2d2:d6a0:6f3e with SMTP id k1-20020a05651c10a100b002d2d6a06f3emr5837047ljn.13.1709537777893; Sun, 03 Mar 2024 23:36:17 -0800 (PST) Received: from [192.168.1.20] ([178.197.222.97]) by smtp.gmail.com with ESMTPSA id c26-20020a2e9d9a000000b002d29e1845c9sm1615609ljj.58.2024.03.03.23.36.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 03 Mar 2024 23:36:17 -0800 (PST) Message-ID: Date: Mon, 4 Mar 2024 08:36:14 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] dt-bindings: display: atmel,lcdc: convert to dtschema Content-Language: en-US To: Dharma Balasubiramani , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20240304-lcdc-fb-v2-1-a14b463c157a@microchip.com> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fS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JL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240304-lcdc-fb-v2-1-a14b463c157a@microchip.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 04/03/2024 06:36, Dharma Balasubiramani wrote: > Convert the atmel,lcdc bindings to DT schema. > Changes during conversion: add missing clocks and clock-names properties. > > Signed-off-by: Dharma Balasubiramani > --- > This patch converts the existing lcdc display text binding to JSON schema. > The binding is split into two namely > lcdc.yaml > - Holds the frame buffer properties > lcdc-display.yaml > - Holds the display panel properties which is a phandle to the display > property in lcdc fb node. > > These bindings are tested against the existing at91 dts files using > dtbs_check. > --- > Changes in v2: > - Run checkpatch and remove whitespace errors. > - Add the standard interrupt flags. > - Split the binding into two, namely lcdc.yaml and lcdc-display.yaml. > - Link to v1: https://lore.kernel.org/r/20240223-lcdc-fb-v1-1-4c64cb6277df@microchip.com > --- > .../bindings/display/atmel,lcdc-display.yaml | 98 ++++++++++++++++++++++ > .../devicetree/bindings/display/atmel,lcdc.txt | 87 ------------------- > .../devicetree/bindings/display/atmel,lcdc.yaml | 70 ++++++++++++++++ > 3 files changed, 168 insertions(+), 87 deletions(-) > > diff --git a/Documentation/devicetree/bindings/display/atmel,lcdc-display.yaml b/Documentation/devicetree/bindings/display/atmel,lcdc-display.yaml > new file mode 100644 > index 000000000000..ea4fd34b9e2c > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/atmel,lcdc-display.yaml > @@ -0,0 +1,98 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/atmel,lcdc-display.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Microchip's LCDC Display > + > +maintainers: > + - Nicolas Ferre > + - Dharma Balasubiramani > + > +description: > + The LCD Controller (LCDC) consists of logic for transferring LCD image data > + from an external display buffer to a TFT LCD panel. The LCDC has one display > + input buffer per layer that fetches pixels through the single bus host > + interface and a look-up table to allow palletized display configurations. The > + LCDC is programmable on a per layer basis, and supports different LCD > + resolutions, window sizes, image formats and pixel depths. > + > +# We need a select here since this schema is applicable only for nodes with the > +# following properties > + > +select: > + anyOf: > + - required: [ 'atmel,dmacon' ] > + - required: [ 'atmel,lcdcon2' ] > + - required: [ 'atmel,guard-time' ] > + - required: [ bits-per-pixel ] Why quotes in other places? bits-per-pixel is generic property, so you are now selecting other bindings. Read carefully what Rob wrote. Best regards, Krzysztof