Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4866194pxu; Wed, 21 Oct 2020 07:17:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjNt5cNk3Qj7srhZBr96KZF/d+XN+SPBVj8+jWYsXueArvdU0iNEtuZcmRBeEbmsmBNkjf X-Received: by 2002:a17:906:1c8f:: with SMTP id g15mr3616164ejh.179.1603289831494; Wed, 21 Oct 2020 07:17:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603289831; cv=none; d=google.com; s=arc-20160816; b=QKx+AS9sl3clbQYYR/0tuYfYfhdyvgkm1TXmL1JMuxELFOJKrlzal9dGaPmYpL4BgW gKw8zWjodo57J61/SaOtdMCOTcHW3+I9PQQZ1sH6Sm3HcY+Sc14V5hmNqt/akVz0a2W0 5U7kva6xYpie82r/xQekKtW99Qa2KtZypk/oBSNIfaOejZo52xtDmhmvU95Be/LU1hWy BY4JCyxfOOOR22Knmi3c5jOR8TC5LEaqvEKWepL02cQ/s5IKwIL2DLNEn8bdd6fJllm1 +gbq23DTq22761pIV0GjeTCj949acEe5YBgwjSN8xwFB5KqU0tGWvv8NHWrIin2WgMT3 vF8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=51iDGlzcXLWmRAZjn1JlHJhcsKiUIwYAGTCdbRV9NWk=; b=sVqMUBi6S8kr5Pxk58FVn7Heg3kyUlUJ17zTmgTyL8iAWH58OfIB+0EzUcBdSbye+d 4qGg/SfTTFFd+FQfTDQihzPDq86XW6M7fnUS4vP6y8vvprlzuvfDyhCULG7v9yLwa8hl 7HxGVsUEuJFeodkcBwemvJ6DA5asbXnzofZZOx4+Uc41s4zlZZuxatCNXudhuncKVKGd utfT1feJ2GVkpYoRr3WIqqOYyLJ0rTs+CId5eMkRfmPOBpMRYYMw1pceZvC4lmNbCEcU pvBZcJkTUdKGvX4nWtObNMMlMt9qJVfXRMFf+cxefdcf1OfKCPHY+2DqKPETlNdMl/ps q33Q== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a13si1424406edx.563.2020.10.21.07.16.48; Wed, 21 Oct 2020 07:17:11 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2442793AbgJUNBG (ORCPT + 99 others); Wed, 21 Oct 2020 09:01:06 -0400 Received: from mga05.intel.com ([192.55.52.43]:40832 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2442787AbgJUNBD (ORCPT ); Wed, 21 Oct 2020 09:01:03 -0400 IronPort-SDR: G0ITZuDh7/4qMUtPPxX1v6WnUA1FZoOKyQ63+iBOdJbNZRgJVJ9zw0FLfFHgE9iRcuhyyI0k49 aoumwEy6z7Xg== X-IronPort-AV: E=McAfee;i="6000,8403,9780"; a="252057577" X-IronPort-AV: E=Sophos;i="5.77,401,1596524400"; d="scan'208";a="252057577" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Oct 2020 06:00:58 -0700 IronPort-SDR: lM5wSd6+wT4tggVCLwdGbIPibdst4g5SbujPDO31XcaiYsSmH6OSi9IHSmujusMtC9jZyu4c8a HvaYv53wmvcQ== X-IronPort-AV: E=Sophos;i="5.77,401,1596524400"; d="scan'208";a="522735609" Received: from paasikivi.fi.intel.com ([10.237.72.42]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Oct 2020 06:00:55 -0700 Received: by paasikivi.fi.intel.com (Postfix, from userid 1000) id 4CB9020815; Wed, 21 Oct 2020 16:00:33 +0300 (EEST) Date: Wed, 21 Oct 2020 16:00:33 +0300 From: Sakari Ailus To: Hugues Fruchet Cc: Alexandre Torgue , Mauro Carvalho Chehab , Hans Verkuil , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, Alain Volmat , Yannick Fertre , Philippe CORNU Subject: Re: [PATCH v4 2/2] media: dt-bindings: media: st,stm32-dcmi: Add support of BT656 Message-ID: <20201021130033.GI2703@paasikivi.fi.intel.com> References: <1603188889-23664-1-git-send-email-hugues.fruchet@st.com> <1603188889-23664-3-git-send-email-hugues.fruchet@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1603188889-23664-3-git-send-email-hugues.fruchet@st.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Hugues, On Tue, Oct 20, 2020 at 12:14:49PM +0200, Hugues Fruchet wrote: > Add support of BT656 parallel bus mode in DCMI. > This mode is enabled when hsync-active & vsync-active > fields are not specified. > > Signed-off-by: Hugues Fruchet > --- > .../devicetree/bindings/media/st,stm32-dcmi.yaml | 30 ++++++++++++++++++++++ > 1 file changed, 30 insertions(+) > > diff --git a/Documentation/devicetree/bindings/media/st,stm32-dcmi.yaml b/Documentation/devicetree/bindings/media/st,stm32-dcmi.yaml > index 3fe778c..1ee521a 100644 > --- a/Documentation/devicetree/bindings/media/st,stm32-dcmi.yaml > +++ b/Documentation/devicetree/bindings/media/st,stm32-dcmi.yaml > @@ -44,6 +44,36 @@ properties: > bindings defined in > Documentation/devicetree/bindings/media/video-interfaces.txt. > > + properties: > + endpoint: > + type: object > + > + properties: > + bus-width: true > + > + hsync-active: > + description: > + If both HSYNC and VSYNC polarities are not specified, BT656 > + embedded synchronization is selected. > + default: 0 > + > + vsync-active: > + description: > + If both HSYNC and VSYNC polarities are not specified, BT656 > + embedded synchronization is selected. > + default: 0 Should I understand this as if the polarities were not specified, BT.656 will be used? The bindings previously documented BT.601 (parallel) only, so it was somewhat ambigious to begin with. Is there a risk of interpreting old BT.601 bindings as BT.656? With bus-type property, I believe you could avoid at least that risk. Also not specifying at least one of the default values leads to BT.656 without bus-type. That could be addressed by removing the defaults. > + > + pclk-sample: true > + > + remote-endpoint: true > + > + required: > + - remote-endpoint > + > + additionalProperties: false > + > + additionalProperties: false > + > required: > - compatible > - reg -- Regards, Sakari Ailus