Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp60291pxb; Wed, 29 Sep 2021 21:08:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx7f34QczImCo9ULDezGW65abUxGxH9r2HB56t0JGtSvd+UlZHYAoxJsKZ6l5FEqFJqxdK/ X-Received: by 2002:a05:6a00:2a2:b0:43d:ea13:9c06 with SMTP id q2-20020a056a0002a200b0043dea139c06mr2112193pfs.37.1632974934991; Wed, 29 Sep 2021 21:08:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632974934; cv=none; d=google.com; s=arc-20160816; b=jXqnbzL1lUCcYh4HJOikmFIQyVndyXqa8z3w4foCk/TBKtbmfBpUHjVEAPpbtPLaeV G+YQ0r1T8kbfYjBpZwL0Gw/rPR6ZbHPxhY+vNVGf+XL24kVAq1ghVeOvejFjSpoUYyAf xOnF9QuWBT0VN3BnEe6uYK32Yf1uapFuDGKjcxVUCTbJqmxDH68QtiP7SZwNh6/1uR/F RZWBPcuI0G3kcLoMNOuCC7+JXjwPMzTVknhNOVQVyz4jAc2Aues8OgqavSxGfsSM8oRu 2I7cf1fix9YJtWhandcp9mA7mzdmfRZaPot6Zxuj9uE1uhYMZd+XEAmXg9jbt9Tz3YFH lKfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:user-agent:from :references:in-reply-to:mime-version:dkim-signature; bh=R9mpe6GAMYXYmN7BguKYQDj8CISG/3Bymg9UCpNDaUA=; b=DCqWPhU86vkSqGms8wbXLgG2L5+5SXCq9B0NEwkRf6qvROMOpNCnJ2GEdcbE4pwTc3 oCTcKwExfqHlPXEkTF7/Au2oH6KqxCLZFNcFH9gCergReNwuDMa81dlcryoF12REiOKa i8JENmHIyq1r9Z8nL7t4PSfT4UjSLKhUFT/4460IyOBeGioEny0EYqB7CkJNGzjo2WDy iykuXLNpyKRi0um5kgir4wIXjCJ3dgXywMVxY+ysiL6ruPONdD6IeTVRVhvhjlJjqJSC 0ZMSI6C4bioYuDLb0ItwRKfu8Lv1Etg4crI/gnkj/haVmlL+wALTc07EyqHrimoCsdG2 OAZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=J1qc7TcO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r16si2384672pls.136.2021.09.29.21.08.40; Wed, 29 Sep 2021 21:08:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=J1qc7TcO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347829AbhI3EDr (ORCPT + 99 others); Thu, 30 Sep 2021 00:03:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237508AbhI3EDq (ORCPT ); Thu, 30 Sep 2021 00:03:46 -0400 Received: from mail-ot1-x333.google.com (mail-ot1-x333.google.com [IPv6:2607:f8b0:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4ABE6C06176C for ; Wed, 29 Sep 2021 21:02:04 -0700 (PDT) Received: by mail-ot1-x333.google.com with SMTP id c26-20020a056830349a00b0054d96d25c1eso5629008otu.9 for ; Wed, 29 Sep 2021 21:02:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:user-agent:date:message-id :subject:to:cc; bh=R9mpe6GAMYXYmN7BguKYQDj8CISG/3Bymg9UCpNDaUA=; b=J1qc7TcOvA4WBtz50QMiHU+6+Y6nKOwAj1EeOPUDYv1YfmcQDMwNqd5LBX0wXJGeJW xHsaIfix1bx/ylxq2pHjsLdsSJqDmCyWPuMuglPj71U0lIH6NUJLEyNzGnxZrid/Jox0 XPDRS4LTLj6ngvyAncNHXNb6J/kSFpgihTZFM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:in-reply-to:references:from :user-agent:date:message-id:subject:to:cc; bh=R9mpe6GAMYXYmN7BguKYQDj8CISG/3Bymg9UCpNDaUA=; b=cN8IIRgt3NugLlzTEOGVRALqEd1bLD9C8C49lavsqVsxHHBIpYDvpU/Dxk7JIZnw/O zUXeUviAp7EYLApxIaE6mSZd6D/5PsUUG/wDE8vR7eokW52gug00VmFcvOQkjpktbGbY K9+HbXBuO1J2zjTq/vI+Movbs6GW31KElPGnsBXu0lIlWktzBOG7yd7wmE+JrAi0bjbq j/ZnFUQ1eN9QD/H9X2JGNbHOzFtNsLRR0b6qtKVYnkC451zyaJZQdBCa/yp+AiUX+u/7 Z0EYngD5dhc8USekede2geeqcDcT7BP7kdBBwxwKi/b8RrQ22gq3bcd3xCPdqT1boOLl PzfQ== X-Gm-Message-State: AOAM531krs9nWKRDPvVu3TxspRxvJ8fwHXHl4AvkzvH7yIRCrgpgZAXO LE0MPumOj/rmIwPcN1NFBj9E7HsyDmBMaNeiGiflyEGNN/s= X-Received: by 2002:a9d:6a0f:: with SMTP id g15mr3329286otn.126.1632974523505; Wed, 29 Sep 2021 21:02:03 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 29 Sep 2021 21:02:03 -0700 MIME-Version: 1.0 In-Reply-To: <20210929173343.v2.3.I630340a51130f4582dbe14e42f673b74e0531a2b@changeid> References: <20210929173343.v2.1.Ib7e63ae17e827ce0636a09d5dec9796043e4f80a@changeid> <20210929173343.v2.3.I630340a51130f4582dbe14e42f673b74e0531a2b@changeid> From: Stephen Boyd User-Agent: alot/0.9.1 Date: Wed, 29 Sep 2021 21:02:03 -0700 Message-ID: Subject: Re: [PATCH v2 3/3] arm64: dts: sc7180: Support Parade ps8640 edp bridge To: LKML , Philip Chen Cc: dianders@chromium.org, Andy Gross , Bjorn Andersson , Rob Herring , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Philip Chen (2021-09-29 17:34:58) > diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-parade-ps8640.dtsi b/arch/arm64/boot/dts/qcom/sc7180-trogdor-parade-ps8640.dtsi > new file mode 100644 > index 000000000000..c274ab41bd67 > --- /dev/null > +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor-parade-ps8640.dtsi > @@ -0,0 +1,108 @@ > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > +/* > + * Google Trogdor dts fragment for the boards with Parade ps8640 edp bridge > + * > + * Copyright 2021 Google LLC. > + */ > + > +/ { > + pp3300_brij_ps8640: pp3300-brij-ps8640 { > + compatible = "regulator-fixed"; > + status = "okay"; > + regulator-name = "pp3300_brij_ps8640"; > + > + regulator-min-microvolt = <3300000>; > + regulator-max-microvolt = <3300000>; > + > + gpio = <&tlmm 32 GPIO_ACTIVE_HIGH>; Doesn't this need enable-active-high; ? > + > + pinctrl-names = "default"; > + pinctrl-0 = <&en_pp3300_edp_brij_ps8640>; > + > + vin-supply = <&pp3300_a>; > + }; > +}; > + > +&dsi0_out { > + remote-endpoint = <&ps8640_in>; Should this also have data-lanes to be "complete"? > +}; > + > +edp_brij_i2c: &i2c2 { > + status = "okay"; > + clock-frequency = <400000>; > + > + ps8640_bridge: edp-bridge@8 { Just bridge@8 to match ti bridge? Also, is the label used? If not please drop it. > + compatible = "parade,ps8640"; > + reg = <0x8>; > + > + powerdown-gpios = <&tlmm 104 GPIO_ACTIVE_LOW>; > + reset-gpios = <&tlmm 11 GPIO_ACTIVE_LOW>; > + > + pinctrl-names = "default"; > + pinctrl-0 = <&edp_brij_en>, <&edp_brij_ps8640_rst>; > + > + vdd12-supply = <&pp1200_brij>; > + vdd33-supply = <&pp3300_brij_ps8640>; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + ps8640_in: endpoint { > + remote-endpoint = <&dsi0_out>; > + }; > + }; > + > + port@1 { > + reg = <1>; > + ps8640_out: endpoint { > + remote-endpoint = <&panel_in_edp>; > + }; > + }; > + }; > + > + aux_bus: aux-bus { Is this label used either? > + panel: panel { > + /* Compatible will be filled in per-board */ > + power-supply = <&pp3300_dx_edp>; > + backlight = <&backlight>; > + > + port { > + panel_in_edp: endpoint { > + remote-endpoint = <&ps8640_out>; > + }; > + }; > + }; > + }; > + }; > +}; > +