Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp92033pxb; Tue, 28 Sep 2021 16:16:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzf+NmLrtnLw2xgfARED7yktsEJwsGHilu1yV5oPl/7GLv/kdqCn5Vf8C+8ZV4ufIB4Het X-Received: by 2002:a17:90a:3483:: with SMTP id p3mr2605840pjb.80.1632871015041; Tue, 28 Sep 2021 16:16:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632871015; cv=none; d=google.com; s=arc-20160816; b=VEZOGDG0AoyPnrk15oc3sCqP35tA5WYuBg4zLtSPD3bQoSqPtKZWYj2RagZw/oospw z0b7Ks01Cl9VK4nITrSR5GxYofh+JnxYkLDQa1NBmjiLUfMwhi730eSE5JLWSD4dpoHe uJKEz+71mbHqF0MyBpkvRLmCCAPoXOIPxeWezhNV7pbcmODMje/jkwnPUPriRzFCfv31 w6ENxB/56mudwbyJsHJAkPjXTTQLLDV6Ong/Cg4cHS9Z6lJFIFLFw5hUNowRzYu415wD wDgPYLBiP6LyJNIiGxbCQJbQAaqKUxMvQYdjPAm116zp5fXD44L7hTDZsFy9yvvmWO1P s5cg== 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:from:in-reply-to :references:mime-version:dkim-signature; bh=a8ee7WRS14R1O+BHcNU3Zd5XnKmvSTh6mYlENaJtsFs=; b=By0RWP2DYnG2DJKtD2+8w0tBcdriqgVXuQJTAuyKN3LMoNJxz5zs++wl7uLmOFcIA9 rISmDupN/78gndMjMBXvyCl5waPxzjzho4jB+KHapsl5v8TV5BAOvvXHsvTj6tXNw9fK cDiGD0lKuyLZLXOjjg7XA7j9iABKIkZsJMxjwjtRCTBZql81+3OKrL8E08T81uF2OD5e SkPkOmvFcqJ4Z3d+AKBHmoCbzOgJyz0/qu4eCoqjzw61SnSLKLpG77scNoX2CN6X9YKc /+Fh/LPRSUjmF4LB4N63I48TyY6mLdecKJcsfg9Jmst0hWrVX2ZxGSD1TMrjcEqTSBV9 EagA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="eWt9X/Jq"; 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 l186si608463pgd.317.2021.09.28.16.16.19; Tue, 28 Sep 2021 16:16:55 -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="eWt9X/Jq"; 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 S243153AbhI1XQ5 (ORCPT + 99 others); Tue, 28 Sep 2021 19:16:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229952AbhI1XQ5 (ORCPT ); Tue, 28 Sep 2021 19:16:57 -0400 Received: from mail-yb1-xb30.google.com (mail-yb1-xb30.google.com [IPv6:2607:f8b0:4864:20::b30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F871C061746 for ; Tue, 28 Sep 2021 16:15:17 -0700 (PDT) Received: by mail-yb1-xb30.google.com with SMTP id 71so1189431ybe.6 for ; Tue, 28 Sep 2021 16:15:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=a8ee7WRS14R1O+BHcNU3Zd5XnKmvSTh6mYlENaJtsFs=; b=eWt9X/Jqh7u9qa8ilTksY05Vlq460clfXJSJwTGEMiyi9I3duuWFlnAe+zZebsBJZV 15AJsLYBy6uXOdaTdkQqCcbxzXR5kc395Gms9aGkaq0Jy8mio8TIgs71TZcr4azxCqV1 VnIkSSoDunlxZXjvMWmNUm/ftdAlcIMd8PObw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=a8ee7WRS14R1O+BHcNU3Zd5XnKmvSTh6mYlENaJtsFs=; b=hYcWNo7JflHQE/C/KMRh2vXl29Jjv3omH0k7umli4kLGJMxFNLovBvPy8IZHU0RQ9Q 7O946wWUQxIHAti52h6xIHZC+x3o4o8uDEPMGndlC8xU32rFK5gpqJD6OX80KpzQi6Op sCZRy2TxBA3EoGNn/8fWiWM9QrdkQ+vEFArZYlqpaVIcTR6zYcbkgFvkuLmPbfyvF/7L omR95VRLeU19S9Wnab9UA7UQBB+zOZznWCdeALXOklB06QOR1A0F+Xw4r58NHch1qdFW CDHWFBF3auyS7JjPpYobCOHT4U+LOgdHZC8ooaGG2B61Tr1hqm5imjrxRWcusZXonlGB vFWA== X-Gm-Message-State: AOAM532GiRJNfvJY1z5FajFJmOo38KTJm3CuHLGN8Qgr8LeipRfDttRq 9bX/mP5HCtweg87K+ngq2OIq/Bu0v0srnd0KnFHy2Q== X-Received: by 2002:a25:8885:: with SMTP id d5mr9334051ybl.14.1632870916255; Tue, 28 Sep 2021 16:15:16 -0700 (PDT) MIME-Version: 1.0 References: <20210927184858.1.Ib7e63ae17e827ce0636a09d5dec9796043e4f80a@changeid> <20210927184858.2.I651eec59ce3cd1c4bdd64de31f9c3531f501b3a8@changeid> In-Reply-To: From: Philip Chen Date: Tue, 28 Sep 2021 16:15:05 -0700 Message-ID: Subject: Re: [PATCH 2/2] arm64: dts: sc7180: Support Parade ps8640 edp bridge To: Stephen Boyd Cc: LKML , Douglas Anderson , 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 Hi Stephen, On Tue, Sep 28, 2021 at 1:58 PM Stephen Boyd wrote: > > Quoting Philip Chen (2021-09-27 18:49:40) > > 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..647afb3a7c6a > > --- /dev/null > > +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor-parade-ps8640.dtsi > > @@ -0,0 +1,105 @@ > > +// 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>; > > + > > + pinctrl-names = "default"; > > + pinctrl-0 = <&en_pp3300_edp_brij_ps8640>; > > + > > + vin-supply = <&pp3300_a>; > > + }; > > +}; > > + > > +&dsi0_out { > > + remote-endpoint = <&ps8640_in>; > > +}; > > + > > +&i2c2 { > > + ps8640_bridge: edp-bridge@8 { > > + 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>; > > Ah here it is. Ignore my concern on patch #1. > > > + > > + 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 { > > The parade,ps8640 binding needs an update for aux-bus. Is that somewhere > in linux-next or on the list? Thanks for the reminder. I'll upload a patch to fix the devicetree binding document. But I'll wait until the support for ps8640 aux-bus is 100% verified by hardware. > > > + 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>; > > + }; > > + }; > > + }; > > + }; > > + }; > > +};