Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp3052538rwe; Sun, 16 Apr 2023 10:34:41 -0700 (PDT) X-Google-Smtp-Source: AKy350Z9GUci7P9aLR39RwcxSuFs23WxY0C9IuZaPO7UI5VzfTaNQPpBFtDCyC7XTFmHrbLweSnp X-Received: by 2002:a17:90b:1d92:b0:246:634d:a89c with SMTP id pf18-20020a17090b1d9200b00246634da89cmr12463643pjb.41.1681666481269; Sun, 16 Apr 2023 10:34:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681666481; cv=none; d=google.com; s=arc-20160816; b=PMVfU4KdUHgdfCd2ktguzB95W0E2OTLpoaiKo+zuLtaEteT2GTPdBHvAlAOZ79TFRb I4we3Hg9fpaAfDLfD3cFGlMGid+O5LlW0y+rGiuTsUV/YMNHnwHEDkiIa3jHL34UzOqd N6Fnsg7PJABzWXPjzCxTCfPKjCOFUbprzqq2OY1QmfAQKr63KsSEws2EOMVu6ztsqHhO uTHlBV2yXB18YAEF8gcInrdPEGC8n6d3ISNfJBTO0zFQzwAHrDEoFEuddQFSmDBDeU4Z 8KX95H23irRvdxsBewHECx7cD7UZkgBHWWYBLGId8fsbqpz1PdRrzQw8d1BqVsUQ5+kZ ZZUg== 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:dkim-signature; bh=ALGubGI9vcPFVNhBw3xYsBRMIAknnF9aicGsi1XUPLk=; b=AytImCMsz5cf3IFB5fis/vuw7qGLQwDVUmy8N8UW0mKHOASuxIcC+SO8NJUKDp+YXw e291uLtF5mP/yDLMPxZq+2frNsUipiEWkUvbsZ8j7xBuiJOfnoFjLINJVqn0mEtLWysg eYQFC7I7r8LPiE2XoJc1aXc+fyjOOxq9T0KWwJtse2nK96W+66tCEGumcJaqXB84nm5V HDDTJJIt7Uyu4D39gRDkkpNnCq5MtIS73YiPQ/QLvPGWb0l2serygzxImDg2xBc80DqK E0Ou251qeNLld1MeKWQQs3oqD7ULEzaL0z40f9emh4uChNm3EjBNULQ6ZubRZwvQGMl1 m5Ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sMuKVfCx; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hk3-20020a17090b224300b0024714b2954csi10790702pjb.78.2023.04.16.10.34.29; Sun, 16 Apr 2023 10:34:41 -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; dkim=pass header.i=@linaro.org header.s=google header.b=sMuKVfCx; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229500AbjDPR3i (ORCPT + 99 others); Sun, 16 Apr 2023 13:29:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229494AbjDPR3h (ORCPT ); Sun, 16 Apr 2023 13:29:37 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 828BE128 for ; Sun, 16 Apr 2023 10:29:35 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id dx24so14349610ejb.11 for ; Sun, 16 Apr 2023 10:29:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681666174; x=1684258174; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=ALGubGI9vcPFVNhBw3xYsBRMIAknnF9aicGsi1XUPLk=; b=sMuKVfCxr89Rs5nPX29H3CNTFQvBvR/XM4KqkDBiCu3zHbHhec+m6gNXeH8Zro6/hP AihhHjRPgDkJMjkI9u+4MLflks+a3mpVBvuGtxpTgNNGVTSObVXzkGGaz7a2JUv7qXlL ck4H9Pehfnd6zoAs7HLhocAskPw2zuiFDODfK63C8a+ttTQd2kG9jUvcK8TuiQfejL12 Iyi6hcI7sHL7i7GHwwqVBigCeaPwPbl2UAZscjInSEvlGpRjCKkNjXCYYVhBTHAUrtwY up30+jmftwHc5xx/Vx/sX4QcSUcACPcmCemhZyfGVGReFJiD62AG5oi5XkFEDBOmFG0F Mr7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681666174; x=1684258174; h=content-transfer-encoding:in-reply-to: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=ALGubGI9vcPFVNhBw3xYsBRMIAknnF9aicGsi1XUPLk=; b=lWxGO7c1pV05g1cT9LW2fyPagKtRxZIds9t9WysK2OyiJ3vQv8YWFB46OBFebGPNFP rCpzr269z9+Na/gVWO42YHI/E9ROv3ZTZgdHns0S8VFNnpaKkXpYi0pihJC15+qTIDgZ xp/VDnxI4aRoiQ6+BQi270ZvaYldvK4yk1Th7rk0jlJeKuztv7WnWnSCOU7OH4JAQ5PP vcGLK4PuVqTvoguljGKpLrr16+NPybS9nBTtQe3iKCOdN615TUwRnXjhVjATUkaaNuUm ra8cIrkx1/2uKG+SAVyvSgJgC1a3TAtAa2RNDtIsG4NBMXjiKuovsKuRTBUCu2zdlP5d L6rg== X-Gm-Message-State: AAQBX9cxoDJDRc6Ydvbc/xl0MXPQe96sH2Cgd25XZqA4Z7oLIP+3yYHl /4XUFFjjltdMqJpEJSw1r6F5DQ== X-Received: by 2002:a17:907:2089:b0:947:a6d7:e2b4 with SMTP id pv9-20020a170907208900b00947a6d7e2b4mr4755130ejb.8.1681666173907; Sun, 16 Apr 2023 10:29:33 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:f9e3:1d38:66a7:ae92? ([2a02:810d:15c0:828:f9e3:1d38:66a7:ae92]) by smtp.gmail.com with ESMTPSA id h20-20020a1709067cd400b0094a86ccb634sm5278610ejp.210.2023.04.16.10.29.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 16 Apr 2023 10:29:33 -0700 (PDT) Message-ID: <31c582a7-682a-330e-51d4-53b4a0c5f3a2@linaro.org> Date: Sun, 16 Apr 2023 19:29:32 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v4 1/3] dt-bindings: phy: Add starfive,jh7110-dphy-rx Content-Language: en-US To: Changhuang Liang , 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 , linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org References: <20230412084540.295411-1-changhuang.liang@starfivetech.com> <20230412084540.295411-2-changhuang.liang@starfivetech.com> <8dd0dc63-e0df-8764-f756-da032d9d671c@linaro.org> <0c94aadf-fac3-d05c-1c54-ae8337526849@starfivetech.com> From: Krzysztof Kozlowski In-Reply-To: <0c94aadf-fac3-d05c-1c54-ae8337526849@starfivetech.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 13/04/2023 11:02, Changhuang Liang wrote: > > > 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>;". And JH7100 is different SoC, so you have different compatible. Again - is this board specific? If not, looks like SoC specific, thus imply it from compatible. Best regards, Krzysztof