Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1240355rdd; Wed, 10 Jan 2024 13:07:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IHY0ts1L/fRVcnbAmHCBvtgn2Tji+k3maNITiFyp499r04a4E2WBB3Cmm8MqYTkXU3f0FjF X-Received: by 2002:a92:d78b:0:b0:360:62a0:830f with SMTP id d11-20020a92d78b000000b0036062a0830fmr118422iln.100.1704920861016; Wed, 10 Jan 2024 13:07:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704920860; cv=none; d=google.com; s=arc-20160816; b=ETK/ReSTPnVL5YEDVAyZqpKiXRBygXBWjZrjJ6rqJjRsyDj3beiRtzu76slbek1hNt PcIvPC9ikhl7MJJsZNq0DegLG1VUisFTt3w/zLlbuz4TiztjaTJRHgFQ5z7z3vni90Ms RluC4v0O5E74UOzwbklpsFjnPatQdmwU+rTDim72ZraMSqzB8nDdN5qN8WQfK0Uw4uWL BsbK2wi+LyvQ9i85u4zzH6StjdKt1aN0bByTp13nSetfkaHDs49vcakhTgy4ydtgA8qs uuMZuweSleaS7z82wAgWZbFxgyZNzYYllEo3dmui3clb84cuqKJckvlBF9IWgQywJvrI BYBA== ARC-Message-Signature: i=1; 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=jpzmoubksARMqXWsZukQ4nFns/a5KbT0VTwgd0T9PkY=; fh=B8BXQI9KDA9v/mH9jC0y/l04GFnbuKohw+pIn8DWyS0=; b=QAv72wEWL/xlqWQ7AJyRsiGd9bwjXX2keXlw5iUjlQa7jqZkcwMZasPIbN7GXFHZL9 bXFuEgao5E9xs/vR+9ZtfMp1HZnWDV12IQd4awuDd0uy+owgoy8qUyKc3ucKz7QDSxY/ fSQlJViGxFsZRfNVyX6X51dKdO1lpEvmCQICfzjCFOWdZWzTOmJA8PEkS+PkR+Q0w0Gj r9m7pqY8udivrrX5gt3mTpJW7k9WGH3fdgfJu3S+2mrPFldFLWRhTbs1HXVpphHDqIBI wNRCJqBIva2XgFGfB6eQ13rlEW2aLmRamBzNiSkfDF1B1tNrDUaQEgvv3T75iOgThl21 Nq4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="S/Nab8d+"; spf=pass (google.com: domain of linux-kernel+bounces-22799-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22799-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id t4-20020a639544000000b005c2786b7e32si4419908pgn.812.2024.01.10.13.07.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 13:07:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22799-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="S/Nab8d+"; spf=pass (google.com: domain of linux-kernel+bounces-22799-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22799-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 2B702B22517 for ; Wed, 10 Jan 2024 21:06:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D5D5D4F5EB; Wed, 10 Jan 2024 21:06:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="S/Nab8d+" Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (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 3F52E4EB3A for ; Wed, 10 Jan 2024 21:06:21 +0000 (UTC) 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-wm1-f49.google.com with SMTP id 5b1f17b1804b1-40e43fb2659so41970145e9.1 for ; Wed, 10 Jan 2024 13:06:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704920779; x=1705525579; 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=jpzmoubksARMqXWsZukQ4nFns/a5KbT0VTwgd0T9PkY=; b=S/Nab8d+Da3dYMeM4BwzcKNJ61ltINBrb0dclk4w1RY0oWmfjFONlVbmFTmwv2n4qj 43MsOYJnsZgCESOjKLNe1P0pqFWoH5Fi8ON0KJofFKv5j6XHIpJzo0ODXSGICuddCDqf 7fFrHU7c22s9RLxFo3SUTcPZh/foXsPaFW8rnMX5nS0wJW9FQmUveIkf7av3xrkPNPS2 lUDKNATsyzRd7sru+meWg8iMIh74ZG/YhX8pLohYiEGzMP1nyrIQDAeq0khlRzsUVtBq pnhpfpgzneHrdPU0Smp+WFQbpmYqV3FWYbXyH3uHlkNkegwcf2eKiYUL1Xmry+9zKCeU F6nA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704920779; x=1705525579; 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=jpzmoubksARMqXWsZukQ4nFns/a5KbT0VTwgd0T9PkY=; b=cRYv2Wqde8Sh5i72MstAItCpF8qtlOK+Pe5JQO3F3v9hmwbNjfqZFuhWgvpFzYIRnU Ah7a67dVHqamm/B44a8e2SHu2463qMAKMBOdmybvygdeBcKuwrhgQFDpXNwLETm60akq emkJt26OQvVhVW+G0IIMvLwjCj2tqzB4TWeLUv1kqtkAisKcDSFQJZuWDeCR3Z++7+DO 3Wmxk1t1Gq6QUtkAyxbKxwctsMfYmYVs4dwKTBPAb7cNKzpthu2TbFe4R9zbEacsoDfk SR4AaEC6VezB6t/EJe5DuL8FdkTgVmTETX+fwgIyY/lOOWxuL0Jk+hTUX99IMiJtrQ5R ezrw== X-Gm-Message-State: AOJu0YwzDmCdJUCqIK4InI8UVnOyzOtSsId67xsqwSxQPMpBJ7IuC1xJ JJWOVFdWFkL9txq3MUNi/1mLd9ML4f/wvQ== X-Received: by 2002:a05:600c:4fc5:b0:40e:556d:7885 with SMTP id o5-20020a05600c4fc500b0040e556d7885mr20137wmq.165.1704920779512; Wed, 10 Jan 2024 13:06:19 -0800 (PST) Received: from [192.168.1.20] ([178.197.223.112]) by smtp.gmail.com with ESMTPSA id 27-20020a170906329b00b00a1f738318a5sm2424226ejw.155.2024.01.10.13.06.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 Jan 2024 13:06:18 -0800 (PST) Message-ID: <78b8400b-806d-4e8e-b7e3-582b80aff4b2@linaro.org> Date: Wed, 10 Jan 2024 22:06:15 +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 1/2] dt-bindings: display: bridge: cdns: Add properties to support StarFive JH7110 SoC Content-Language: en-US To: Shengyang Chen , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org Cc: andrzej.hajda@intel.com, neil.armstrong@linaro.org, rfoss@kernel.org, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@gmail.com, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, p.zabel@pengutronix.de, tomi.valkeinen@ideasonboard.com, r-ravikumar@ti.com, aford173@gmail.com, rdunlap@infradead.org, u.kleine-koenig@pengutronix.de, bbrezillon@kernel.org, changhuang.liang@starfivetech.com, keith.zhao@starfivetech.com, jack.zhu@starfivetech.com, linux-kernel@vger.kernel.org References: <20240109072516.24328-1-shengyang.chen@starfivetech.com> <20240109072516.24328-2-shengyang.chen@starfivetech.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 B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XhcwM qf3lzsm02y7Ooq+ERVKiJzlvLd9tSe4jRx6Z6LMXhB21fa5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240109072516.24328-2-shengyang.chen@starfivetech.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 09/01/2024 08:25, Shengyang Chen wrote: > From: Keith Zhao > > Add properties in CDNS DSI yaml file to match with > CDNS DSI module in StarFive JH7110 SoC. Please wrap commit message according to Linux coding style / submission process (neither too early nor over the limit): https://elixir.bootlin.com/linux/v6.4-rc1/source/Documentation/process/submitting-patches.rst#L597 Subject: Make it concise, like: "Add StarFive JH7110 SoC display bridge or something". > > Signed-off-by: Keith Zhao > --- > .../bindings/display/bridge/cdns,dsi.yaml | 44 ++++++++++++++++++- > 1 file changed, 42 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/display/bridge/cdns,dsi.yaml b/Documentation/devicetree/bindings/display/bridge/cdns,dsi.yaml > index 23060324d16e..da091e105794 100644 > --- a/Documentation/devicetree/bindings/display/bridge/cdns,dsi.yaml > +++ b/Documentation/devicetree/bindings/display/bridge/cdns,dsi.yaml > @@ -16,6 +16,7 @@ properties: > compatible: > enum: > - cdns,dsi > + - starfve,jh7110-dsi > - ti,j721e-dsi > > reg: > @@ -27,14 +28,20 @@ properties: > Register block for wrapper settings registers in case of TI J7 SoCs. > > clocks: > + minItems: 2 > items: > - description: PSM clock, used by the IP > - description: sys clock, used by the IP > + - description: apb clock, used by the IP > + - description: txesc clock, used by the IP > > clock-names: > + minItems: 2 > items: > - const: dsi_p_clk > - const: dsi_sys_clk > + - const: apb > + - const: txesc > > phys: > maxItems: 1 > @@ -46,10 +53,21 @@ properties: > maxItems: 1 > > resets: > - maxItems: 1 > + minItems: 1 > + items: > + - description: dsi sys reset line > + - description: dsi dpi reset line > + - description: dsi apb reset line > + - description: dsi txesc reset line > + - description: dsi txbytehs reset line > > reset-names: > - const: dsi_p_rst > + items: > + - const: dsi_p_rst > + - const: dpi > + - const: apb > + - const: txesc > + - const: txbytehs > > ports: > $ref: /schemas/graph.yaml#/properties/ports > @@ -90,6 +108,28 @@ allOf: > reg: > maxItems: 1 > > + - if: > + properties: > + compatible: > + contains: > + const: starfive,jh7110-dsi > + then: > + properties: > + clocks: > + minItems: 4 > + maxItems: 4 > + resets: > + minItems: 5 > + maxItems: 5 Missing constraints for xxx-names. > + required: > + - reset-names > + else: > + properties: > + clocks: > + maxItems: 2 > + resets: > + maxItems: 1 Same problem. Best regards, Krzysztof