Received: by 2002:a05:7412:7c14:b0:fa:6e18:a558 with SMTP id ii20csp452287rdb; Mon, 22 Jan 2024 09:07:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IHSyqXrFqyv2HP2su4p6HJC7dwMhosd6fTKBNkHsRbHxvcedOP4eBCoXj13+IaJvJDqFwvo X-Received: by 2002:a17:902:c405:b0:1d7:1e5d:ab3b with SMTP id k5-20020a170902c40500b001d71e5dab3bmr2807532plk.74.1705943230715; Mon, 22 Jan 2024 09:07:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705943230; cv=pass; d=google.com; s=arc-20160816; b=pta+p7GEVEe8xzR264Ilz/xMrGWEccD+pKHUlcvvos5HWlvR+y/hJJaEiE4xVjUWga lQm+enRpZu3kk8k9ccadvFLoUfGYCuv9eQDUBtGE1hqhVTQugFGM/epe6SwGIHR1EMTz T+nvFIkRg/RFoGI08QGO7bLleqOz2krb3N9D2+W17ohxKgDvQ3psTantYE74p9hcFfv9 5tY2pADYAmGmbztJUamMBHZAY859tU8aCBaZagx35lDTIxOxTgePsQQiUJHAm4+i0U3X MwG0VfHDnqMGNFbtRp8EIIorzUCNr0cE8AHkccr+IHXBvtkuqhSqWZCxObLZz51UQD7j 2tmw== 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=pJ0zrxyONAEJC446UqlZHMUupECUs7roaqU3AKYd48A=; fh=XPZCkc8epd48kf89/YGvdW283MbsKG4k4lfaCJQDrHQ=; b=z6yS10UTqC2AF7A/4TTuEXhs4ayHVoS6hiU/0Ypt5hA/WM0uUujXZitqW7MmEabUVq JdgPrP5+Bsf80IVISQ0pV9CIvWZLYjMe85HrCjtlaI6juU35Cbh6qMHdxHUsZtBbi+8V ppLdXbZBAtrDqFL0iON1enT10x1XlYFLE55MKhNPCgM2OrOFJt+ktDLAcn8ZYR6lkG5k iRQZVlXo3+C1RJgN1SWYYlGUkztSDCe4W0/SgwxMwt7Jj2D1DIEKNSNjlmvmRnbi7wY9 q62otb4vUnqK2i5ZBnn6nVWuUiRvLZWdlC+VpVaa8JqxolXMRFQpz2wJaJf02Uz818rt 97xg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Bizdc4Mi; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-33628-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-33628-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id m22-20020a170902bb9600b001d7192fb81esi6579392pls.15.2024.01.22.09.07.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 09:07:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-33628-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Bizdc4Mi; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-33628-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-33628-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id CB107287C1F for ; Mon, 22 Jan 2024 17:06:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 725F660DD4; Mon, 22 Jan 2024 15:51:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Bizdc4Mi" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7A9B84A986; Mon, 22 Jan 2024 15:51:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705938684; cv=none; b=YUYN5fig9K8quQg9mNv4RLaxUTujxGmKOYcesvNZpC8yrpy6bE4YZg5Iadi50pVNPvS7QIyJXz9gU/4Z2PCyGXBAbfNdUL+e5eAvcN6Wggtwri/mGjoT9/O0uO7SKYRxYKVjKLQ54TbEbGDRn46f2V4Tl7zdl+2sz1BeAcWU7wk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705938684; c=relaxed/simple; bh=lZj1NhD+BrgwByiozIOGjYtEGNtDXVvBjToxv7HKJbE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=IbhN3g3OKyrDzNBDGKyYpj+tey9C7zMXuyeCfraHkoCMT9s7gV/e2T9nCCACf884jB4M2pW2d8voFEnTmbbtj+EQ0QaGWED3qZcOszGTvmkP5q2oyINU0auDhYjl3FUVFKzf/0lBH6z7KgBIoSBGhXnokf6mn4uV6L7pN/ntBFE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Bizdc4Mi; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 04596C43399; Mon, 22 Jan 2024 15:51:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705938683; bh=lZj1NhD+BrgwByiozIOGjYtEGNtDXVvBjToxv7HKJbE=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=Bizdc4MiGP8lgs0tziWkCzRzJtmMsaJNe+Plj1W5AqETf+BmoUwlhS/lba3O0FQmx p5Asrr0WKBpxw3/2dAznrAvHFzL05R1A4XsCGu4QIFJgMO5hdNRpq8gdymmbWbXw18 35N1UuvXGEARt3G2eZDIjW/wFIsDJNk6c+NFxcJQw+gZI4ttkKRAHMC6BnQtUv7XOZ UhL1k6LP3ouY7Uru+1roEovQOdv5fOmbqH0ImwV2upImEfnkcoBKx51Ygr5mSss/jO mlxH9YJRnB2udActExYA8hJCv3/3YpS9/kYzi4GxB4vxI3dnY7CNbuXKPFrZh2oDfb uZqeiDD/1O4kA== Message-ID: <10a88fc6-2c4c-4f77-850f-f15b21a8ed49@kernel.org> Date: Mon, 22 Jan 2024 16:51:16 +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 1/3] dt-bindings: display: bridge: add sam9x7-lvds compatible Content-Language: en-US To: Dharma Balasubiramani , manikandan.m@microchip.com, andrzej.hajda@intel.com, neil.armstrong@linaro.org, rfoss@kernel.org, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@gmail.com, airlied@gmail.com, daniel@ffwll.ch, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: linux4microchip@microchip.com References: <20240122082947.21645-1-dharma.b@microchip.com> <20240122082947.21645-2-dharma.b@microchip.com> From: Krzysztof Kozlowski Autocrypt: addr=krzk@kernel.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/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzSVLcnp5c3p0b2Yg S296bG93c2tpIDxrcnprQGtlcm5lbC5vcmc+wsGVBBMBCgA/AhsDBgsJCAcDAgYVCAIJCgsE FgIDAQIeAQIXgBYhBJvQfg4MUfjVlne3VBuTQ307QWKbBQJgPO8PBQkUX63hAAoJEBuTQ307 QWKbBn8P+QFxwl7pDsAKR1InemMAmuykCHl+XgC0LDqrsWhAH5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21645-2-dharma.b@microchip.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 22/01/2024 09:29, Dharma Balasubiramani wrote: > Add the 'sam9x7-lvds' compatible binding, which describes the > Low Voltage Differential Signaling (LVDS) Controller found on Microchip's > sam9x7 series System-on-Chip (SoC) devices. This binding will be used to > define the properties and configuration for the LVDS Controller in DT. > > Signed-off-by: Dharma Balasubiramani > --- > .../display/bridge/microchip,sam9x7-lvds.yaml | 59 +++++++++++++++++++ > 1 file changed, 59 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/bridge/microchip,sam9x7-lvds.yaml > > diff --git a/Documentation/devicetree/bindings/display/bridge/microchip,sam9x7-lvds.yaml b/Documentation/devicetree/bindings/display/bridge/microchip,sam9x7-lvds.yaml > new file mode 100644 > index 000000000000..8c2c5b858c85 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/bridge/microchip,sam9x7-lvds.yaml > @@ -0,0 +1,59 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/bridge/microchip,sam9x7-lvds.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Microchip SAM9X7 LVDS Controller What is the "X"? > + > +maintainers: > + - Dharma Balasubiramani > + > +description: | Do not need '|' unless you need to preserve formatting. > + The Low Voltage Differential Signaling Controller (LVDSC) manages data > + format conversion from the LCD Controller internal DPI bus to OpenLDI > + LVDS output signals. LVDSC functions include bit mapping, balanced mode > + management, and serializer. > + > +properties: > + compatible: > + const: microchip,sam9x7-lvds What is "x"? Wildcard? Then no, don't use it and instead use proper SoC version number. > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + clocks: > + items: > + - description: Peripheral Bus Clock > + > + clock-names: > + items: > + - const: pclk > + - const: gclk > + minItems: 1 No, you just said you have one clock. > + > +required: > + - compatible > + - reg > + - interrupts > + - clocks > + - clock-names > + > +additionalProperties: false > + > +examples: > + - | > + #include > + #include > + #include This header is not used. Include only used ones (and missing interrupt). > + > + lvds-controller@f8060000 { > + compatible = "microchip,sam9x7-lvds"; > + reg = <0xf8060000 0x100>; > + interrupts = <56 IRQ_TYPE_LEVEL_HIGH 0>; What is "0"? > + clocks = <&pmc PMC_TYPE_PERIPHERAL 56>; > + clock-names = "pclk"; > + }; Best regards, Krzysztof