From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E3D58C433ED for ; Tue, 18 May 2021 13:24:04 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 710CB610CD for ; Tue, 18 May 2021 13:24:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 710CB610CD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=xZCXT52tMooLtyOWEe+vPNgwn/SHTgZiztcDzOOPoHk=; b=armmTOGwVdxwAhggSNkrhyrwP F5XijnEY9SqHxOqHyjcZrwxo/kYCROBbnPNke7Ol+oJQnFkdABSIFCzywT2YTzdBTU4UZ9Fw8ASLD N9FvQPm5mMfSDsFPoj1keAjaWTfB/OBPfcKmyO5J8og6pKkIPzia77Jec7GUj4+KrFu0W1BxQ267n n3Iuqfk8WXRxPvj4jXH3ttuggI+f7WbWxxZhOqc7yuN8tqCS0jYZ/2bH4vcKEhcwDOz0foueHcw0+ b/e6h8Q2DK9yXmWuLAry4Jl7qYL51+UnHgehJyUwSzYWhiSkcWMECDgIeIPNnUblBba8YhEshRCPW Oc26kwHMA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lizf7-000rc2-EK; Tue, 18 May 2021 13:21:29 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lizf5-000rbs-O4 for linux-arm-kernel@desiato.infradead.org; Tue, 18 May 2021 13:21:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=u+wN1H4CiOq/deGj0uJD8MCy7BhsRO561PN/y6kBixo=; b=qYkS4hHM8bM4d2wK6jYpdh5L0b yU6WqSUV91ChAnO0uh5mKS18w1g9RpUkQbatp9CNq1MAwiFGZag4Z2kdAQyzQwIV7lUFQtvlpdv23 35bsPh+bDCUbTxHPH6bNqcAsGuymh3b9eiSKTs9ieBCN3GChpWJ7VqLRvMeG+tUVd/ARLTS+qYRqp 7Ud2Wxs1shi7nk7X/rIuqlEVrjFfb3bgTxosztDqdmvouACDdLbx8O0nroltYduS8BbdVi1VHuENU zLCfbqrEW2h3JVLlOomsdQMlJfvn0e9GD8uhJFyH6vIp0MQ040ox2DrZoWkiZa4pq+k/SXmnByQXp Zn5QN1HQ==; Received: from mail-oi1-f169.google.com ([209.85.167.169]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lizf3-00Eg9Y-6g for linux-arm-kernel@lists.infradead.org; Tue, 18 May 2021 13:21:26 +0000 Received: by mail-oi1-f169.google.com with SMTP id z3so9714814oib.5 for ; Tue, 18 May 2021 06:21:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=u+wN1H4CiOq/deGj0uJD8MCy7BhsRO561PN/y6kBixo=; b=rOJO2eRAe8u/4dbBKS8SV4uQR4YpQev0JgbaDJFZNDAZQ8c1iVY6nrNw4odML9tk3y 3NsDhmeYLDbne3GTiO+zzZIjbNyIVspFax1LTErzo+SErev2+zAEXmfMpiWTwg3b2TWt +MlyOEFMWGggUb5sdxa0L9vonUqB8z3P6QpACjc8TurJVBSMTXcOEHFz0KgWYM//6LnQ ow8YxgeaToXuR718tfITRhRiTX0urayuQTQnhaVHIXbP/EuiyTOEAEzhQ20z0TiEQZn9 5chX7t12SbZpiu1vQHs+W8sPTaDzIdSrntC8ZggtwuU2CegQXTXflqabA+tJtn7fye4C gMuA== X-Gm-Message-State: AOAM5334xHH2ZaAz7AjWxpIm+Y7vRKazK/4eN4DCyAVulrODKr98lPpS r6LtKpSwzqE4BdedgOhc5Q== X-Google-Smtp-Source: ABdhPJzfBHQ7VoQgiEFOmE1+YMwi0t+QqNadLu2n4/RcHyI1SltKiBCKlWZ2rzE8A8SXpn01ZUuu2w== X-Received: by 2002:a05:6808:8cd:: with SMTP id k13mr3997317oij.156.1621344081680; Tue, 18 May 2021 06:21:21 -0700 (PDT) Received: from robh.at.kernel.org (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id d185sm3413682oib.25.2021.05.18.06.21.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 May 2021 06:21:21 -0700 (PDT) Received: (nullmailer pid 526193 invoked by uid 1000); Tue, 18 May 2021 13:21:19 -0000 Date: Tue, 18 May 2021 08:21:19 -0500 From: Rob Herring To: Marek Vasut Cc: dri-devel@lists.freedesktop.org, ch@denx.de, Alexandre Torgue , Andrzej Hajda , Antonio Borneo , Benjamin Gaignard , Biju Das , Laurent Pinchart , Maxime Coquelin , Philippe Cornu , Sam Ravnborg , Vincent Abriou , Yannick Fertre , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: Re: [PATCH V4 1/2] dt-bindings: display: bridge: lvds-codec: Document pixel data sampling edge select Message-ID: <20210518132119.GA492897@robh.at.kernel.org> References: <20210515204317.366967-1-marex@denx.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210515204317.366967-1-marex@denx.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210518_062125_255228_440F8FF0 X-CRM114-Status: GOOD ( 19.84 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sat, May 15, 2021 at 10:43:15PM +0200, Marek Vasut wrote: > The OnSemi FIN3385 Parallel-to-LVDS encoder has a dedicated input line to > select input pixel data sampling edge. Add DT property "pclk-sample", not > the same as the one used by display timings but rather the same as used by > media, to define the pixel data sampling edge. > > Signed-off-by: Marek Vasut > Cc: Alexandre Torgue > Cc: Andrzej Hajda > Cc: Antonio Borneo > Cc: Benjamin Gaignard > Cc: Biju Das > Cc: Laurent Pinchart > Cc: Maxime Coquelin > Cc: Philippe Cornu > Cc: Rob Herring > Cc: Sam Ravnborg > Cc: Vincent Abriou > Cc: Yannick Fertre > Cc: devicetree@vger.kernel.org > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-stm32@st-md-mailman.stormreply.com > To: dri-devel@lists.freedesktop.org > --- > V4: New patch split from combined V3 > --- > .../bindings/display/bridge/lvds-codec.yaml | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > > diff --git a/Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml b/Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml > index 304a1367faaa..f4dd16bd69d2 100644 > --- a/Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml > +++ b/Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml > @@ -64,6 +64,14 @@ properties: > - port@0 > - port@1 > > + pclk-sample: > + description: > + Data sampling on rising or falling edge. > + enum: > + - 0 # Falling edge > + - 1 # Rising edge > + default: 0 This is already defined in video-interfaces.yaml, why are you redefining it here? It's also defined to be an endpoint property, so move it there and reference video-interfaces.yaml. > + > powerdown-gpios: > description: > The GPIO used to control the power down line of this device. > @@ -71,6 +79,16 @@ properties: > > power-supply: true > > +if: > + not: > + properties: > + compatible: > + contains: > + const: lvds-encoder > +then: > + properties: > + pclk-sample: false This constraint would be difficult to express with the property in an endpoint. I'd just drop it. Rob _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AA61BC433ED for ; Tue, 18 May 2021 13:21:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 88D27610CD for ; Tue, 18 May 2021 13:21:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239466AbhERNWm (ORCPT ); Tue, 18 May 2021 09:22:42 -0400 Received: from mail-oi1-f178.google.com ([209.85.167.178]:41648 "EHLO mail-oi1-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239145AbhERNWl (ORCPT ); Tue, 18 May 2021 09:22:41 -0400 Received: by mail-oi1-f178.google.com with SMTP id c3so9718457oic.8 for ; Tue, 18 May 2021 06:21:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=u+wN1H4CiOq/deGj0uJD8MCy7BhsRO561PN/y6kBixo=; b=qe115lbq1fx1M/gKL1JPhItIGyhePNOVNlvWISjHvRVX9Q5L4yrI2iIoISm6C5fIjc ixwkrL4GqGIz3ePuzC2f7tkn1f6Z0t28si79xwbrtGrTcXHboQ1N23/wmqXEbkeLZR1O D+aNGl/iv8pXsPmpNWbXpo+w11xASeB97ESvbs7AfG+a7L59Lk7apz1kGwIcVUYjl8GQ boadxXcyuUOg/EN4+EVBxrwGlrHShfHFw/ug6nVaP7yOr/7iAz89qpVFA6EUki415Y3p w+EgV4NDjksfnEBJemgndIkJ6ND9nSG8uSob1hx22yfC9yqCSFFrBq6Xof+mYnZnz4mB pfZw== X-Gm-Message-State: AOAM5309HzxzsZn0tZXB6ueQ9g+N3Ud1PAUpOSzeSgom3MjI5E49UiHg Xz45XCaxdVijzGqgC0j51Q== X-Google-Smtp-Source: ABdhPJzfBHQ7VoQgiEFOmE1+YMwi0t+QqNadLu2n4/RcHyI1SltKiBCKlWZ2rzE8A8SXpn01ZUuu2w== X-Received: by 2002:a05:6808:8cd:: with SMTP id k13mr3997317oij.156.1621344081680; Tue, 18 May 2021 06:21:21 -0700 (PDT) Received: from robh.at.kernel.org (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id d185sm3413682oib.25.2021.05.18.06.21.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 May 2021 06:21:21 -0700 (PDT) Received: (nullmailer pid 526193 invoked by uid 1000); Tue, 18 May 2021 13:21:19 -0000 Date: Tue, 18 May 2021 08:21:19 -0500 From: Rob Herring To: Marek Vasut Cc: dri-devel@lists.freedesktop.org, ch@denx.de, Alexandre Torgue , Andrzej Hajda , Antonio Borneo , Benjamin Gaignard , Biju Das , Laurent Pinchart , Maxime Coquelin , Philippe Cornu , Sam Ravnborg , Vincent Abriou , Yannick Fertre , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: Re: [PATCH V4 1/2] dt-bindings: display: bridge: lvds-codec: Document pixel data sampling edge select Message-ID: <20210518132119.GA492897@robh.at.kernel.org> References: <20210515204317.366967-1-marex@denx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210515204317.366967-1-marex@denx.de> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Sat, May 15, 2021 at 10:43:15PM +0200, Marek Vasut wrote: > The OnSemi FIN3385 Parallel-to-LVDS encoder has a dedicated input line to > select input pixel data sampling edge. Add DT property "pclk-sample", not > the same as the one used by display timings but rather the same as used by > media, to define the pixel data sampling edge. > > Signed-off-by: Marek Vasut > Cc: Alexandre Torgue > Cc: Andrzej Hajda > Cc: Antonio Borneo > Cc: Benjamin Gaignard > Cc: Biju Das > Cc: Laurent Pinchart > Cc: Maxime Coquelin > Cc: Philippe Cornu > Cc: Rob Herring > Cc: Sam Ravnborg > Cc: Vincent Abriou > Cc: Yannick Fertre > Cc: devicetree@vger.kernel.org > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-stm32@st-md-mailman.stormreply.com > To: dri-devel@lists.freedesktop.org > --- > V4: New patch split from combined V3 > --- > .../bindings/display/bridge/lvds-codec.yaml | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > > diff --git a/Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml b/Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml > index 304a1367faaa..f4dd16bd69d2 100644 > --- a/Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml > +++ b/Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml > @@ -64,6 +64,14 @@ properties: > - port@0 > - port@1 > > + pclk-sample: > + description: > + Data sampling on rising or falling edge. > + enum: > + - 0 # Falling edge > + - 1 # Rising edge > + default: 0 This is already defined in video-interfaces.yaml, why are you redefining it here? It's also defined to be an endpoint property, so move it there and reference video-interfaces.yaml. > + > powerdown-gpios: > description: > The GPIO used to control the power down line of this device. > @@ -71,6 +79,16 @@ properties: > > power-supply: true > > +if: > + not: > + properties: > + compatible: > + contains: > + const: lvds-encoder > +then: > + properties: > + pclk-sample: false This constraint would be difficult to express with the property in an endpoint. I'd just drop it. Rob From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2E308C433B4 for ; Tue, 18 May 2021 13:21:25 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E6E4E610CD for ; Tue, 18 May 2021 13:21:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E6E4E610CD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 387026EB6F; Tue, 18 May 2021 13:21:24 +0000 (UTC) Received: from mail-oi1-f179.google.com (mail-oi1-f179.google.com [209.85.167.179]) by gabe.freedesktop.org (Postfix) with ESMTPS id C995B6EB6F for ; Tue, 18 May 2021 13:21:23 +0000 (UTC) Received: by mail-oi1-f179.google.com with SMTP id w127so5902943oig.12 for ; Tue, 18 May 2021 06:21:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=u+wN1H4CiOq/deGj0uJD8MCy7BhsRO561PN/y6kBixo=; b=BnPR+HukcrSuBYN5lKRrlUluLa9qo9OJNRDRr0ISYE+NRVVpqYcM1uR+RyJuFAA1SZ aDWaeKrNh79P1gYjR9ejTuebmTKM56Jc8+NRTp1upLZSaL9i53W8U52YaCB7G8/poLo8 ge2D+DXwBXXq6mcCIbhVG7Ru6c+TVch+7sX9d28keuyG6185+3+05UmhERwl2AGztX56 GmZgdOGHRiBRmOdCwIiR2JFT2Q+U8BMSsYLH/tfd9LRJk7qaxom+GMphO7bKmzMMOfab VP0tU+x/SDL1H9dACXpEq2I1W0qfNKC5smzDLdxbgIV9zNdHy+og9bYh4w9zzkRogfIW 76fw== X-Gm-Message-State: AOAM532vBk5v0BOH3jHwMrhsFPpaGAWS/oUUKAJr5D0HBVCDUIgn6NFG EHwcIEVXJwznBaYe/q5S4Q== X-Google-Smtp-Source: ABdhPJzfBHQ7VoQgiEFOmE1+YMwi0t+QqNadLu2n4/RcHyI1SltKiBCKlWZ2rzE8A8SXpn01ZUuu2w== X-Received: by 2002:a05:6808:8cd:: with SMTP id k13mr3997317oij.156.1621344081680; Tue, 18 May 2021 06:21:21 -0700 (PDT) Received: from robh.at.kernel.org (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id d185sm3413682oib.25.2021.05.18.06.21.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 May 2021 06:21:21 -0700 (PDT) Received: (nullmailer pid 526193 invoked by uid 1000); Tue, 18 May 2021 13:21:19 -0000 Date: Tue, 18 May 2021 08:21:19 -0500 From: Rob Herring To: Marek Vasut Subject: Re: [PATCH V4 1/2] dt-bindings: display: bridge: lvds-codec: Document pixel data sampling edge select Message-ID: <20210518132119.GA492897@robh.at.kernel.org> References: <20210515204317.366967-1-marex@denx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210515204317.366967-1-marex@denx.de> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Benjamin Gaignard , Antonio Borneo , Vincent Abriou , Philippe Cornu , dri-devel@lists.freedesktop.org, Yannick Fertre , Andrzej Hajda , Alexandre Torgue , Laurent Pinchart , Maxime Coquelin , Biju Das , Sam Ravnborg , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, ch@denx.de Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Sat, May 15, 2021 at 10:43:15PM +0200, Marek Vasut wrote: > The OnSemi FIN3385 Parallel-to-LVDS encoder has a dedicated input line to > select input pixel data sampling edge. Add DT property "pclk-sample", not > the same as the one used by display timings but rather the same as used by > media, to define the pixel data sampling edge. > > Signed-off-by: Marek Vasut > Cc: Alexandre Torgue > Cc: Andrzej Hajda > Cc: Antonio Borneo > Cc: Benjamin Gaignard > Cc: Biju Das > Cc: Laurent Pinchart > Cc: Maxime Coquelin > Cc: Philippe Cornu > Cc: Rob Herring > Cc: Sam Ravnborg > Cc: Vincent Abriou > Cc: Yannick Fertre > Cc: devicetree@vger.kernel.org > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-stm32@st-md-mailman.stormreply.com > To: dri-devel@lists.freedesktop.org > --- > V4: New patch split from combined V3 > --- > .../bindings/display/bridge/lvds-codec.yaml | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > > diff --git a/Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml b/Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml > index 304a1367faaa..f4dd16bd69d2 100644 > --- a/Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml > +++ b/Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml > @@ -64,6 +64,14 @@ properties: > - port@0 > - port@1 > > + pclk-sample: > + description: > + Data sampling on rising or falling edge. > + enum: > + - 0 # Falling edge > + - 1 # Rising edge > + default: 0 This is already defined in video-interfaces.yaml, why are you redefining it here? It's also defined to be an endpoint property, so move it there and reference video-interfaces.yaml. > + > powerdown-gpios: > description: > The GPIO used to control the power down line of this device. > @@ -71,6 +79,16 @@ properties: > > power-supply: true > > +if: > + not: > + properties: > + compatible: > + contains: > + const: lvds-encoder > +then: > + properties: > + pclk-sample: false This constraint would be difficult to express with the property in an endpoint. I'd just drop it. Rob