Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp2640112pxb; Fri, 8 Oct 2021 11:50:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3hCzkRPa6VChV2jLaZApfL6VYgMEViAmMb75S9N6CWaavYjTLsDn8jNA2uDv8kO/IH5te X-Received: by 2002:a05:6402:84f:: with SMTP id b15mr17708735edz.175.1633719043994; Fri, 08 Oct 2021 11:50:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633719043; cv=none; d=google.com; s=arc-20160816; b=ya2J4YbE11uKIZYtnYOMqXCaXHFfQVT3UnliKLmJLJOiG7DalVqTIcDDyxIujJWtww NxcG5RykwFawEFDjeokBsOtTK8IkPLmJ/P6rEulj8LHGBTUVkWfH82SuKvHRI/QHFSYa H11KQiINSIlXhA5jg7sJIqxTIjEB4IeL/gwDzQZJvufExlydNUtLtKBqAGJp9ehi9Cm6 K4Cgm15+pYKx9Ps6q8aOCK9m03W6vNTuwIFDweNLfiqFu5Y1UewyXoLmRkmy0ZH3YudE clRM5Q3ncEjYaZpiMzhpDkRvoDpSVNFfU+3hYXMEVyEva9wf150Hnqabt6sk+iAZyEh7 hgZw== 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=7cPY3v1LzlioKfdhDOw7Hm3RkTquyHY7MkNmossNAIo=; b=yFUXC18x+678oyel4PTHx7tQm6YZ5BGwHTpDwOxs9u5h6MEUSBq4KaSbCihwT/58dk AnydhHFoMk1ncpx0rGmP88Z5L4KJVquS/rwh/Ekm/iHg9hhQof/bIYE7Qxth5wkCODy6 yKgO2sArepHOMhfNSeHMPL/QohvwNrIBzP0sLmNgNMMM1fqi5iE9R5IJ8pSkRHNsnPyJ IZ9piHSQzrEERWLiuTpTDYlpol8V0PiOqNu/wleS/1b0gJLzJy9VOcHZboytq3EMvWqs RrW4E4r56SIkkPUt4gLVGLhd6zUBuTnFNC5XUilw60Rqh6W+jKa0nEDCtd/wSKtjWSce zvZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Nlof5Wbh; 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 n14si46050edw.18.2021.10.08.11.50.20; Fri, 08 Oct 2021 11:50:43 -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=Nlof5Wbh; 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 S231480AbhJHSsX (ORCPT + 99 others); Fri, 8 Oct 2021 14:48:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231246AbhJHSsW (ORCPT ); Fri, 8 Oct 2021 14:48:22 -0400 Received: from mail-yb1-xb31.google.com (mail-yb1-xb31.google.com [IPv6:2607:f8b0:4864:20::b31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8429C061755 for ; Fri, 8 Oct 2021 11:46:26 -0700 (PDT) Received: by mail-yb1-xb31.google.com with SMTP id u32so23088439ybd.9 for ; Fri, 08 Oct 2021 11:46:26 -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=7cPY3v1LzlioKfdhDOw7Hm3RkTquyHY7MkNmossNAIo=; b=Nlof5WbhDqBjYqgMvc96/D8WqHy+mHAz4nkyQ5wCmn1lCOfLCq6DllC+M78UmTy9Gg nx43NobVwOd7zEmzGHpvZhu2KzQBW/yHkXpzskzWAG/T1dvfcjaSWO53aEqE2ox1a40Q XmzDxVx6kSdmOWqXaEmXjq2Op4AqzjgHwfr7k= 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=7cPY3v1LzlioKfdhDOw7Hm3RkTquyHY7MkNmossNAIo=; b=OKupfP0Rt2aRgwZu65ctkgG4zOhAw5Fb6+1wnHzGLefyBknh4dNhOo8MAV3zm1Pb+S uII9uMw28smMot0WTYukuOsLxEmFckb7u5U19qg/OtRqdksmRaTPqjmdpaGXAWrMQBJE hn+Kn8kPW51xhYudUHE9PxFxmHldALcwrcuTxEXk/BPJY7xC+507CjSQ/l1Ta62N624V Kwn3/RE6rcltfc1We1kCw4+s3jg81yEdrWEJi1h3Bk9FwxfAWQkmAZHXIQeGFjIgH36N 4CajKsjpkMjKk1YWUeJi634aTeqSt/0A6suBmY0e9Xenb7fLA8x11AbvjqIjBgXKC9+S 7myQ== X-Gm-Message-State: AOAM533hxYETkpyx9rKPNVzUgA0DFXOAOoLEB+5PquTHeDnXrZ/COskW PNOJAleeZbAjUz5fII4PjE1mxhrQH3HLJd0schbz/w== X-Received: by 2002:a25:7c07:: with SMTP id x7mr5469298ybc.217.1633718786049; Fri, 08 Oct 2021 11:46:26 -0700 (PDT) MIME-Version: 1.0 References: <20210929173343.v2.1.Ib7e63ae17e827ce0636a09d5dec9796043e4f80a@changeid> <20210929173343.v2.3.I630340a51130f4582dbe14e42f673b74e0531a2b@changeid> In-Reply-To: From: Philip Chen Date: Fri, 8 Oct 2021 11:46:15 -0700 Message-ID: Subject: Re: [PATCH v2 3/3] arm64: dts: sc7180: Support Parade ps8640 edp bridge To: Doug Anderson Cc: Stephen Boyd , LKML , Andy Gross , Bjorn Andersson , Rob Herring , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-arm-msm Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi On Thu, Oct 7, 2021 at 11:15 AM Philip Chen wrote: > > Hi, > > On Thu, Sep 30, 2021 at 9:22 AM Doug Anderson wrote: > > > > Hi, > > > > On Wed, Sep 29, 2021 at 9:02 PM Stephen Boyd wrote: > > > > > > > + 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; > > > > Looks like it. Without that it looks like it assumes active low. > Thanks for catching this. > I'll fix it in v3. > > > > > > > > > + > > > > + 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"? > > > > That's still back in the main trogdor.dtsi, isn't it? > Yes, I think so. > Plus, ti-sn65 dts doesn't define data-lanes for input either. Sorry, I was wrong. ti-sn65 dts actually defines data-lanes for input. However, since ps8640 driver doesn't parse input data-lanes for now, it's not useful to add data-lanes here anyway. > > > > > > > > > +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. > > > > I agree with Stephen about it being "bridge@8". Personally I don't > > mind labels like this even if they're not used since they don't hurt > > and it creates less churn to add them now, but I won't fight hard to > > keep them. > I will make it "bridge@8" to match ti-sn65 dts. > Meanwhile, can we keep "ps8640_bridge" label to match ti-sn65 dts? > > > > > > > > > + aux_bus: aux-bus { > > > > > > Is this label used either? > > > > Yeah, I'd get rid of this one since there you didn't add it in the > > sn65dsi86 dtsi file and it seems exceedingly unlikely we'd need it for > > any reason. > Sure, I will remove "aux_bus" label in v3. > > > > > -Doug