Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp348321rwe; Tue, 18 Apr 2023 23:12:11 -0700 (PDT) X-Google-Smtp-Source: AKy350aVePiTu5az5NfeJbJjlcEO+I4rQnZ/R5cHRmPxocHwCfL0NfV8teTizVn/uHGPHj07/8iD X-Received: by 2002:a17:903:110f:b0:1a1:dd2a:fe6c with SMTP id n15-20020a170903110f00b001a1dd2afe6cmr4929446plh.53.1681884731362; Tue, 18 Apr 2023 23:12:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681884731; cv=none; d=google.com; s=arc-20160816; b=aIxD3aUnYnX3Uqk+kUXXUuhgKYv2pmFHk75Z0oX6vNLxcK6/y2M9OhIG46n9kRQLzP 4ynCoX+paiJcunEyOPLILihuxZjisYDKRUKT70RJCunT9uJFtSly5/+c7ElcmwhBTSzT RJZxg1Q/3ojy5MDR33hdWqBAbBWV65IpGDkm20KuN4jOslQvdy92TVpLwEsfvy6mQWTE nKLZfUJr7ObyzrygM/Lw9bJlzqmZAs0VeegFmbVl4XcZVnVuLVmhiYv78+V7GvQljb60 LD7inoKTnBkc9X8/B0an21dx8BwXXMtO0lzTBkln9cotI3T6yJ1wE1T91rXTK01jeAoV FkkA== 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=Is0hFjRHBKvOXJ5pw9CsaWsny9OzF/Nz8DVzs5b6zEw=; b=KYuU4X7J0W2EU1dr4Fg8pqpmDpZow9ZKoD7a+GpW9n/si+vRzEDAIrE1L/vbH4QWnq oIqslLbdFbhrb8XMDSHt2ED3pDDI8hnLwfo7sW/gXYrw0daOXPVtQMM3lcsjwLWIChNm dvfhh46wPi3ImmvL5WudaK7Rb7ZgtdA0kCywTOU5sxKrG5ECJGYPiGl+KTqmb4tRjhOn FkebPAIcpwxyAa+kvAxZPHTfptbPFWvNkEiYBjZeRgutawoo+Inexd59KmeFL5lfeSQX RX1qQZLiF9ES8JqEcbMwtoy106/5XupVNPJrbuhoHAi3KE6DpInDL1cPO+vVHUoNXVel Mx0w== 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 h10-20020a170902f54a00b0019a9f8bdba0si16343157plf.62.2023.04.18.23.11.58; Tue, 18 Apr 2023 23:12:11 -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 S231352AbjDSGKu convert rfc822-to-8bit (ORCPT + 99 others); Wed, 19 Apr 2023 02:10:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231532AbjDSGKr (ORCPT ); Wed, 19 Apr 2023 02:10:47 -0400 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 72F075FFB; Tue, 18 Apr 2023 23:10:45 -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 ex01.ufhost.com (Postfix) with ESMTP id 6094224E25E; Wed, 19 Apr 2023 14:10:43 +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; Wed, 19 Apr 2023 14:10:43 +0800 Received: from [192.168.125.106] (113.72.144.253) by EXMBX162.cuchost.com (172.16.6.72) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 19 Apr 2023 14:10:42 +0800 Message-ID: Date: Wed, 19 Apr 2023 14:10:41 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; 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: Rob Herring , Krzysztof Kozlowski CC: Vinod Koul , Kishon Vijay Abraham I , Krzysztof Kozlowski , Emil Renner Berthing , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , Philipp Zabel , Jack Zhu , , , , References: <20230412084540.295411-1-changhuang.liang@starfivetech.com> <20230412084540.295411-2-changhuang.liang@starfivetech.com> <8dd0dc63-e0df-8764-f756-da032d9d671c@linaro.org> <20230418184246.GA2103246-robh@kernel.org> From: Changhuang Liang In-Reply-To: Content-Type: text/plain; charset="UTF-8" X-Originating-IP: [113.72.144.253] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX162.cuchost.com (172.16.6.72) X-YovoleRuleAgent: yovoleflag Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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/19 2:46, Rob Herring wrote: > On Tue, Apr 18, 2023 at 1:42 PM Rob Herring wrote: >> >> On Thu, Apr 13, 2023 at 10:41:23AM +0200, 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. >>> >> >> data-lanes perhaps? > > Except that is for the controller's endpoint rather than the phy. > Presumably if the controller knows the mapping, then it can tell the > phy if it needs the information. IOW, don't just copy 'data-lanes' to > the phy. Follow the normal patterns. > > Rob I am not sure if phy can fetch from the other controller's endpoint. In addition, like our JH7110 SoC, it have data-lanes configure (data-lanes = <1 2>) in csi2rx controller, but this data-lanes configure is not appropriate to phy, maybe they are independent.