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=-12.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 697A9C64E7A for ; Tue, 1 Dec 2020 22:46:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EF91820C56 for ; Tue, 1 Dec 2020 22:46:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="C0IHlu81" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726422AbgLAWpo (ORCPT ); Tue, 1 Dec 2020 17:45:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:44098 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726179AbgLAWpo (ORCPT ); Tue, 1 Dec 2020 17:45:44 -0500 Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CBFD920C56; Tue, 1 Dec 2020 22:45:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1606862703; bh=MjFi3HzHtRoQ7yWPkltj0PaW6hHeafIKU/46YJWPzuA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=C0IHlu8113HcToKCOegRoRnuUe3vNGLF6Ao+VkRNZ9bIMl+tUvtXUGtl0e47BaEs/ OY19AYUbsC+QSQc/4HjZgklGDq7laqBhygKal7ovv+i6bBeaxtuj4yKQHN2s5XWiMq 2aWxae92eU73owjxuKvClOdsrQQt6z8ZDEUpvezg= Received: by mail-ed1-f45.google.com with SMTP id k4so6009517edl.0; Tue, 01 Dec 2020 14:45:02 -0800 (PST) X-Gm-Message-State: AOAM5302zVXo7HQlSQTlMUB7lWJqSSh6pGMvFa83O4OclIOOTvSERZoT 3FF5wp7Zmpzh18qhJOIN4SifATIRl3SdVBEmow== X-Google-Smtp-Source: ABdhPJxEOhbAED89pMCr6qcettOTSROEj+qFkB90ldvDfBapdNq9bDUNEqCNB1buDZdPf5x9qLEdvBH0ux8JkGXXwLA= X-Received: by 2002:a05:6402:553:: with SMTP id i19mr5521037edx.194.1606862701279; Tue, 01 Dec 2020 14:45:01 -0800 (PST) MIME-Version: 1.0 References: <20201014142759.726823-1-rmfrfs@gmail.com> <20201014142759.726823-2-rmfrfs@gmail.com> <20201015144905.4b23k5uy7ycuhvlo@uno.localdomain> <20201016144204.3viee7spmvwtms5i@arch-thunder.localdomain> <20201019203359.GA3550266@bogus> <20201021155204.off4fdyr2heuuhho@uno.localdomain> In-Reply-To: <20201021155204.off4fdyr2heuuhho@uno.localdomain> From: Rob Herring Date: Tue, 1 Dec 2020 15:44:48 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 1/3] dt-bindings: ov2680: convert bindings to yaml To: Jacopo Mondi Cc: Rui Miguel Silva , Sakari Ailus , Hans Verkuil , Linux Media Mailing List , devicetree@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org On Wed, Oct 21, 2020 at 9:52 AM Jacopo Mondi wrote: > > Hi Rob, > > On Mon, Oct 19, 2020 at 03:33:59PM -0500, Rob Herring wrote: > > On Fri, Oct 16, 2020 at 03:42:04PM +0100, Rui Miguel Silva wrote: > > > Hey Jacopo, > > > Thanks for the review. > > > > > > On Thu, Oct 15, 2020 at 04:49:05PM +0200, Jacopo Mondi wrote: > > > > Hi Rui, > > > > > > > > On Wed, Oct 14, 2020 at 03:27:57PM +0100, Rui Miguel Silva wrote: > > > > > Convert ov2680 sensor bindings documentation to yaml schema, remove > > > > > the textual bindings document and update MAINTAINERS entry. > > > > > > > > > > Signed-off-by: Rui Miguel Silva > > > > > > > + clock-names: > > > > > + description: > > > > > > > > I'll never get yaml right, doesn't breaking lines require '|' after > > > > the semicolon ? The validator does not complain, so I guess not. > > > > > > I also had that idea, but looking also to other cases, and also in the > > > examlpe-schema where you have both cases, looks like it is not needed. > > > > '|' will preserve line breaks and formatting. For a single line like > > this it doesn't really matter. Though ruamel's round trip will make it a > > single line when writing back out. > > Thanks for the explanation. > > I'll take the occasion to ask the difference between '|', '|-' and > '-|' as I haven't find it documented anywhere. https://yaml-multiline.info/ '-|' is not valid AFAIK. Did you mean '- |'?. That's a list entry which then contains a multi-line string. Rob