Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5363160rwl; Mon, 3 Apr 2023 19:29:08 -0700 (PDT) X-Google-Smtp-Source: AKy350YsjL4LkxZntOMEUhEJvR8eQc1jHT3lehAn9I7GuNlwHbkhJxcqrUtaPrnL0l/0rVOB7I0P X-Received: by 2002:aa7:c684:0:b0:4fd:247a:9873 with SMTP id n4-20020aa7c684000000b004fd247a9873mr845929edq.5.1680575348611; Mon, 03 Apr 2023 19:29:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680575348; cv=none; d=google.com; s=arc-20160816; b=VIxoT+yP0S69r7cwc1UaqS4wRlyDFtvPvo1bPkn8ugpRKcroBbjdM7qfF+tum5nSBr ToP5i21NLaqLvK9SKWbKAlQhDjkRz0ic6CnPQ7eihF+s52M66lqHhOS/HROkyMUcKa3+ R5YzJKhmAGqR0YfO1/zymhtBQUzgOHLDlIRvOhT6E1wVXFTvFJtjh13ZkNzpd8WLg5aM 0dYc4K0bNPd1OwunQSAOj2kGG0D7sftUyNHkqYV4GIBuKNxbeU404+LVJqZGRS2YdxA3 xYPMisJohQOZxC5Oi4OPoFuHHL087t5fJp3bjk2baUOHG32e9s8XQ+FjjC4M+wePcI+S VFtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=uH3u4gDUCuMRcWYF7qNKH6a82cERnDmpkAK97ElJzRU=; b=NkMP66cw7OUGaxbd01SRG7tylf+Sn/TgDufTPjpskpvNfrN7tneG4VBjSUgN3NE98C FiqsBUMtSI0VCdjSfrYdhbCVhqVr7l019jk8A4yizQUU0V+7MYy1tfDTms5/99PEK1l4 /bjgeI8aVUDrAHCbgVz6lJdTzS59oxRXMm7fg0Nn9NEwO1hyL5tsmkN8danWfh1FXMj3 uR1U4qeR+sZZKUFHZ2KjffKZQuJFwsjETvZTuJpBXjUgHENVsHk6ES0lFJiZ5BCyv1ak QAxfOt8IZwennYbDgi0MY07O3A1Kv1A3YnwjRY49jn2odF7ketS2/9TFdawVORf7va7v beog== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s15-20020aa7c54f000000b00501dbb1760esi7877820edr.49.2023.04.03.19.28.44; Mon, 03 Apr 2023 19:29:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232578AbjDDC0x convert rfc822-to-8bit (ORCPT + 99 others); Mon, 3 Apr 2023 22:26:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232267AbjDDC0w (ORCPT ); Mon, 3 Apr 2023 22:26:52 -0400 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 780181BFE; Mon, 3 Apr 2023 19:26:47 -0700 (PDT) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id 61CFD24E227; Tue, 4 Apr 2023 10:26:45 +0800 (CST) Received: from EXMBX073.cuchost.com (172.16.6.83) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 4 Apr 2023 10:26:45 +0800 Received: from [192.168.1.218] (180.164.60.184) by EXMBX073.cuchost.com (172.16.6.83) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 4 Apr 2023 10:26:44 +0800 Message-ID: Date: Tue, 4 Apr 2023 10:26:44 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH v3 3/9] media: dt-bindings: cadence-csi2rx: Convert to DT schema Content-Language: en-US To: Krzysztof Kozlowski , "Mauro Carvalho Chehab" , Maxime Ripard , Rob Herring , Krzysztof Kozlowski , Robert Foss , "Todor Tomov" , Philipp Zabel , "Laurent Pinchart" , Ezequiel Garcia , Hans Verkuil , Eugen Hristev CC: , , , References: <20230331121826.96973-1-jack.zhu@starfivetech.com> <20230331121826.96973-4-jack.zhu@starfivetech.com> <0aa3a039-daf3-7e05-6da9-258335a5ca20@linaro.org> <9c132e62-7830-90bf-2c3e-1568a54eb6ec@starfivetech.com> From: Jack Zhu In-Reply-To: Content-Type: text/plain; charset="UTF-8" X-Originating-IP: [180.164.60.184] X-ClientProxiedBy: EXCAS061.cuchost.com (172.16.6.21) To EXMBX073.cuchost.com (172.16.6.83) X-YovoleRuleAgent: yovoleflag Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.4 required=5.0 tests=NICE_REPLY_A, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023/4/3 17:53, Krzysztof Kozlowski wrote: > On 03/04/2023 11:48, Jack Zhu wrote: >> >> >> On 2023/4/1 4:12, Krzysztof Kozlowski wrote: >>> On 31/03/2023 14:18, Jack Zhu wrote: >>>> Convert DT bindings document for Cadence MIPI-CSI2 RX controller >>>> to DT schema format. >>>> >>>> Signed-off-by: Jack Zhu >>>> --- >>>> .../devicetree/bindings/media/cdns,csi2rx.txt | 100 ---------- >>>> .../bindings/media/cdns,csi2rx.yaml | 174 ++++++++++++++++++ >>>> MAINTAINERS | 1 + >>>> 3 files changed, 175 insertions(+), 100 deletions(-) >>>> delete mode 100644 Documentation/devicetree/bindings/media/cdns,csi2rx.txt >>>> create mode 100644 Documentation/devicetree/bindings/media/cdns,csi2rx.yaml >>>> >>>> diff --git a/Documentation/devicetree/bindings/media/cdns,csi2rx.txt b/Documentation/devicetree/bindings/media/cdns,csi2rx.txt >>>> deleted file mode 100644 >>>> index 6b02a0657ad9..000000000000 >>>> --- a/Documentation/devicetree/bindings/media/cdns,csi2rx.txt >>>> +++ /dev/null >>>> @@ -1,100 +0,0 @@ >>>> -Cadence MIPI-CSI2 RX controller >>>> -=============================== >>>> - >>>> -The Cadence MIPI-CSI2 RX controller is a CSI-2 bridge supporting up to 4 CSI >>>> -lanes in input, and 4 different pixel streams in output. >>>> - >>>> -Required properties: >>>> - - compatible: must be set to "cdns,csi2rx" and an SoC-specific compatible >>> >>> >>> ... >>> >>>> +$id: http://devicetree.org/schemas/media/cdns,csi2rx.yaml# >>>> +$schema: http://devicetree.org/meta-schemas/core.yaml# >>>> + >>>> +title: Cadence MIPI-CSI2 RX controller >>>> + >>>> +maintainers: >>>> + - Maxime Ripard >>>> + >>>> +description: >>>> + The Cadence MIPI-CSI2 RX controller is a CSI-2 bridge supporting up to 4 CSI >>>> + lanes in input, and 4 different pixel streams in output. >>>> + >>>> +properties: >>>> + compatible: >>>> + const: cdns,csi2rx >>> >>> That's not equivalent conversion and your commit msg does no mention any >>> drops in compatibles. >>> >> The equivalent conversion refers to 'an SoC-specific compatible'? > > Yes. > >> I'm not sure that, is it enough to add a description (drop an 'SoC-specific compatible') >> to my next version commit message? > > Original binding did not allow csi2rx compatible alone. Your binding > here allows it, thus it is not simple conversion. > > I think patch 5 should be squashed here - with proper explanation. > Usually new compatibles should not be messed with conversion, but this > conversion on its own does not make much sense. > Ok, I will merge patch 5 into the patch, and add explanation in my commit msg. > > > Best regards, > Krzysztof >