Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2260109rwl; Thu, 30 Mar 2023 08:04:13 -0700 (PDT) X-Google-Smtp-Source: AKy350anZtDvcprrXQaHls+lQaepJVLC5THX1abMUQmcGlk8KYsZ6Uw/e0bzTBR+DaLJ9TY50bwT X-Received: by 2002:a17:906:74c3:b0:944:4d7:d3d9 with SMTP id z3-20020a17090674c300b0094404d7d3d9mr2152159ejl.2.1680188653447; Thu, 30 Mar 2023 08:04:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680188653; cv=none; d=google.com; s=arc-20160816; b=SKw+7UqDuYiLahGnjcAmWW0Drp7KVuqTB1b9BWaew1PrNfS1mNkYiYlCxOtcvYYcSR NPyjQAB//hmBIfMmerErvLN5d29dzPcog7Cef6bca5q/Ud5LtY6VeQjclZIGueWpqnXI 6eWNRDrukN36qL6TbYW8SciaVHTZHjoc1so0EKMFp1UFkNrfXDTc0BV0bGFkZEooFAtY o666b/0G11hsAzOOfmUdjothrmvdHP3C6gVpBAcMvui/bpJSAOyAQiXvFjXvYib/e059 Mvr8gPTmHhWQFh/uAR/2ALBrLDjMoKaRg5bU5bJIMZReDZH7/XsKqIrJXd1ivgfAOUPE zl7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=cb1RrJ1IEWVY2i/w4ErTcy+sH+lCe9lNHn/NhujlXBw=; b=wCgcBCRGB3djlOlaMH3UpHoszElqsksNjGM+KDswVmXICpFqw86mq64v8pD8V/u5nz 5f/S/dYHJOadfC2QSz10RHW3lkdqKE1xbVb0hFUfvlEN9QTBskCgnNYkqpQWN2xzRPVC VXn8O2ZP3TloAroQuDRekY5Oz2wL5BLJ/C5DbgzPC3zAUtvzH+taVcf66ycmpFNWvqJb 8IZ6ptW9IuWH8zUhFADxx/31OSAZeS09+EDCbja9qnpENvxr2Q4/yCZ7UdYP6Z5Ootxj +mFgaSZb5Suvtv51DrK32iCV5UGgw6VvyRUs79srVgFURHWjM03V+MDPY3cZFQuL1ZzA oLog== 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 z5-20020a170906240500b008d7983495b4si28147012eja.971.2023.03.30.08.03.34; Thu, 30 Mar 2023 08:04:13 -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 S232692AbjC3PCX (ORCPT + 99 others); Thu, 30 Mar 2023 11:02:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232607AbjC3PCV (ORCPT ); Thu, 30 Mar 2023 11:02:21 -0400 Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE2F3A2; Thu, 30 Mar 2023 08:02:19 -0700 (PDT) Received: from francesco-nb.int.toradex.com (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id AECEA20378; Thu, 30 Mar 2023 17:02:17 +0200 (CEST) Date: Thu, 30 Mar 2023 17:02:13 +0200 From: Francesco Dolcini To: Jagan Teki Cc: Francesco Dolcini , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , dri-devel@lists.freedesktop.org, Rob Herring , Krzysztof Kozlowski , Marek Vasut , devicetree@vger.kernel.org, Francesco Dolcini , linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 1/2] dt-bindings: display: bridge: sn65dsi83: Add DSI video mode Message-ID: References: <20230330101752.429804-1-francesco@dolcini.it> <20230330101752.429804-2-francesco@dolcini.it> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS autolearn=unavailable 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 Thu, Mar 30, 2023 at 07:56:26PM +0530, Jagan Teki wrote: > On Thu, Mar 30, 2023 at 3:48 PM Francesco Dolcini wrote: > > > > From: Francesco Dolcini > > > > SN65DSI8[34] device supports burst video mode and non-burst video mode > > with sync events or with sync pulses packet transmission as described in > > the DSI specification. > > > > Add property to select the expected mode, this allows for example to > > select a mode that is compatible with the DSI host interface. > > > > Signed-off-by: Francesco Dolcini > > --- > > .../devicetree/bindings/display/bridge/ti,sn65dsi83.yaml | 8 ++++++++ > > 1 file changed, 8 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi83.yaml b/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi83.yaml > > index 48a97bb3e2e0..ebee16726b02 100644 > > --- a/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi83.yaml > > +++ b/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi83.yaml > > @@ -35,6 +35,14 @@ properties: > > vcc-supply: > > description: A 1.8V power supply (see regulator/regulator.yaml). > > > > + dsi-video-mode: > > + description: | > > + 0 - burst-mode > > + 1 - non-burst with sync event > > + 2 - non-burst with sync pulse > > + $ref: /schemas/types.yaml#/definitions/uint32 > > + enum: [0, 1, 2] > > I'm thinking this can go to dsi common code since the video modes are > common across all controllers and make the core initialize the default > and update if any sink devices are willing to change the modes. Sound > like a big move but worth useful. Not sure I understood where do you want to move this. In any case this is something about the display side of the DSI video connection, with the bridge as a special case, not about the controller. To my understanding the controller is supposed to support all the modes. Francesco