Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2141675rwl; Thu, 13 Apr 2023 02:08:31 -0700 (PDT) X-Google-Smtp-Source: AKy350ZkfGqtg5xx1QfJw47a1cOIZz5Z3eFgHPMzLYcvM8FHr1AhK4DBpB8hW5mOhRTQ7kA+ah3x X-Received: by 2002:a05:6a20:8922:b0:dc:76bb:b09b with SMTP id i34-20020a056a20892200b000dc76bbb09bmr1412855pzg.5.1681376910760; Thu, 13 Apr 2023 02:08:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681376910; cv=none; d=google.com; s=arc-20160816; b=PXY443yPf6oRM6HrjxAizg8F+JqGPCtnQ501xcXdCNSB+pHlEIDbMemSNeBroXtae9 eVcrJUVxB3FQtJN1pKUX/IqYGXcYM2jqZr4yg6hkvHoviWOK1v0UPbJCincifa4ig+1k GRRwSUa1V02Hh5PPWwpZaBi0NGWr211j7hZqKjTbgOSL4gz0ZnEW9bXDGgU1CBSCDXMp Wchymhqzo6fn5XNggmuVeTEZ+VX2wfg8YizIJIMj3cGfokIKQRthRzvE7CEhF22az03z NX2ROhyiTH3Cnbh0XvRrseROpBoOclBCaGj1Swe9BGQC/mymUrbZSNtBhf9WeJCEpXkR ks3g== 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=U7QQEDasFo7q5ucFcNpsb74O1oeMwdPJMmEKvaYJ72c=; b=oooXAlqF0cfVkZ85v2CQOLs7bjHqY02abQU37Ztv3kiNEg/h5P3BFBmR7T8YmMDOuv JXUkr1SpUln4Wg9YOdJAj2qCcxyogp5U/0S0FbHAvTC4cq7EIqLr3FpFhzVM1rZOlXst HClKhAbk6JV+NvipT2trs2sy/IwdbApxpSxG/myW5qrfJcC7pQM2kvzu65DrT6agLX1H ojeXEesXZGcwsBx1TcR0VyJSWF/sn/2+AtJIxThf20rucrm1QJCcJ7TW3fvuoWZKH4Ka 4+Z5QyLkBfUdbsX7yfFQnm2QchoHUFsHUNy+TYLaEnu3B3hkV8Eg5886gOAU6lMx1x05 jEQA== 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 x10-20020a65454a000000b00518c9f4263fsi1548424pgr.468.2023.04.13.02.08.19; Thu, 13 Apr 2023 02:08:30 -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 S229990AbjDMJDq (ORCPT + 99 others); Thu, 13 Apr 2023 05:03:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229977AbjDMJDX (ORCPT ); Thu, 13 Apr 2023 05:03:23 -0400 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B970193EF; Thu, 13 Apr 2023 02:03:08 -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 A83E48067; Thu, 13 Apr 2023 17:03:00 +0800 (CST) Received: from EXMBX162.cuchost.com (172.16.6.72) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 13 Apr 2023 17:03:00 +0800 Received: from [192.168.125.82] (183.27.97.249) by EXMBX162.cuchost.com (172.16.6.72) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 13 Apr 2023 17:02:59 +0800 Message-ID: <0c94aadf-fac3-d05c-1c54-ae8337526849@starfivetech.com> Date: Thu, 13 Apr 2023 17:02:58 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v4 1/3] dt-bindings: phy: Add starfive,jh7110-dphy-rx Content-Language: en-US To: Krzysztof Kozlowski , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Emil Renner Berthing , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , Philipp Zabel CC: Jack Zhu , , , , References: <20230412084540.295411-1-changhuang.liang@starfivetech.com> <20230412084540.295411-2-changhuang.liang@starfivetech.com> <8dd0dc63-e0df-8764-f756-da032d9d671c@linaro.org> From: Changhuang Liang In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [183.27.97.249] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX162.cuchost.com (172.16.6.72) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham 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/13 16:41, Krzysztof Kozlowski wrote: > On 13/04/2023 04:34, Changhuang Liang wrote: >>>>>> + lane_maps: >>>>> >>>>> Why did this appear? Underscores are not allowed. It looks like you >>>>> re-implement some standard property. >>>>> >>>> >>>> Will change to lane-maps. >>>> Yes, according to Vinod advice, lane mapping table use device tree >>>> to parse makes sense. >>> >>> Hm, I have a feeling that I saw such property, so you should dig into >>> existing and in-flight bindings. >>> >>> Best regards, >>> Krzysztof >>> >> >> A standard property? Like "clocks" or "resets"? > > Like lane-polarities now submitted to one MIPI. > > Anyway it does not look like a property of a board. You said it is fixed > per SoC, so it should be implied from the compatible. Otherwise please > explain in description and provide some rationale. > > Best regards, > Krzysztof > This property is the only one used for this IP, I have compared this IP with other DPHY rx module, DPHY modules form the other manufacturers not have this configure. And we also have a SoC called JH7100. It DPHY rx module is the same as JH7110. But we don't do the upstream work on it. If it use this lane-maps will be configure as "lane_maps = /bits/ 8 <0 1 2 3 4 5>;". So what do you think? Can this configure be implemented into a property?