Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1733404ybt; Mon, 15 Jun 2020 08:05:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyi5jOIHjUp59E/eC8oGXc5hvfOtKv40y71heHwzjy/KuSbRF2h1IwnpW58Hk20JDn+hJZS X-Received: by 2002:a17:907:685:: with SMTP id wn5mr27434248ejb.283.1592233506390; Mon, 15 Jun 2020 08:05:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592233506; cv=none; d=google.com; s=arc-20160816; b=UJHf4aN/g52svsPdGCIOhrC7BajDD3KX2MokFdKDrtyywzvAWbamXLGqMN34OzXFbI nrsuKFX38u1Ebm7ND/zJ7bdtpIcIPJXCWq5bSI0F98u9/CytpCcnClKLL4GYZnp3YPwI BHA8DSHU2bsbjrwg+yKB13vHrrZJ0xUYvuOp83qMkv6zwLrMhwgcpN83DYUm7IG7ihny alIz1bTog1Hgkd3qoTDPOHrqGEqfeoLALQgNFTIGbP9fzVuneN6vVksQduAqr4TJ4CeO w/PytWND+T4+VSoR1Lty55XEGsB9HmWn8/KMsGv9dN+fdWQPsJYpfbDtQ9k3O+l8nm2B bQ7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=hXqkNL+MwwhOxPBRpqSLXRycOjW0FDzt2Xs7EaIG9UE=; b=jRvNmT59+3UYtujktFKUFnvKjSNnwW8cAba+ixHz0Gs0Q/pIFDdQpu8IyIJ0I6Hyvi H1rz7Nn/s0RR1p+8sE4Z1ueY0pNAshzoeinlkMs9lul+nvyuWA342PsEZztY5X8AP9Yg PUCrWYeV1OmYIm4qSrD4hiABIV0KkFfMKulo1GNrCJ7JvBFgFJtNV1Q6ADZzSpsRhtZA YLZ/uNr3x/+o9rOT1BWm6+y0m/DAXMtpumeqawE1jhi5BDYOc7ShOqiOFkdGalsc/qsZ 71EIaMD6M642CTx6Qqu4L+A/e7n6yQgncgNiim2w+rqAt57mTCFQjbkhlHc2wTZpbUcb Y+fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Y/Z6obKY"; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ly20si9280722ejb.474.2020.06.15.08.04.42; Mon, 15 Jun 2020 08:05:06 -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=@kernel.org header.s=default header.b="Y/Z6obKY"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730921AbgFOPCm (ORCPT + 99 others); Mon, 15 Jun 2020 11:02:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:48452 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730777AbgFOPCl (ORCPT ); Mon, 15 Jun 2020 11:02:41 -0400 Received: from mail-ot1-f42.google.com (mail-ot1-f42.google.com [209.85.210.42]) (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 05B542078A; Mon, 15 Jun 2020 15:02:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592233360; bh=cLE/KDQ7zi8CXnleskZoZ1Ql9hp/DpDm7B2xPgtp8Pc=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Y/Z6obKYdtRw3N7G0dSci0N/ySSHnfwI0VNvmTCeY5dHarhRxKChHbUr6Buy9daJP D4GTJuhsL/S5ZeAsl+9VS3pxK89gzUu2/ZqmiHMO2Yj5hAnMlh0RuCyELdAW2JFx3u wr/1hQxPWYOL9irTK4WJNpAqnTDfHvZBVpb+ZVVs= Received: by mail-ot1-f42.google.com with SMTP id n5so2708691otj.1; Mon, 15 Jun 2020 08:02:39 -0700 (PDT) X-Gm-Message-State: AOAM532EM5j/AyvpSbbWi9j5UQinstFVaQwmlaCAq06tbrAIz0M03qz2 Bo4HU11cnwS+FjD5wPaNSzFjkcmbzs6dSCGc+Q== X-Received: by 2002:a05:6830:3104:: with SMTP id b4mr22220499ots.192.1592233359274; Mon, 15 Jun 2020 08:02:39 -0700 (PDT) MIME-Version: 1.0 References: <20200612144713.502006-1-kieran.bingham+renesas@ideasonboard.com> <20200612144713.502006-2-kieran.bingham+renesas@ideasonboard.com> <20200612221003.GA3901624@bogus> <20200613123207.6ey6y5spfa5ajk4h@uno.localdomain> In-Reply-To: <20200613123207.6ey6y5spfa5ajk4h@uno.localdomain> From: Rob Herring Date: Mon, 15 Jun 2020 09:02:28 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v10 1/4] dt-bindings: media: i2c: Add bindings for Maxim Integrated MAX9286 To: Jacopo Mondi Cc: Kieran Bingham , Laurent Pinchart , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" , Hyun Kwon , Linux Media Mailing List , Linus Walleij , Mauro Carvalho Chehab , Kieran Bingham , Sakari Ailus , =?UTF-8?Q?Niklas_S=C3=B6derlund?= , Laurent Pinchart , Manivannan Sadhasivam , devicetree@vger.kernel.org, =?UTF-8?Q?Niklas_S=C3=B6derlund?= , "open list:MEDIA DRIVERS FOR RENESAS - FCP" , Jacopo Mondi , Hans Verkuil Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jun 13, 2020 at 6:28 AM Jacopo Mondi wrote: > > Hi Rob, > > On Fri, Jun 12, 2020 at 04:10:03PM -0600, Rob Herring wrote: > > On Fri, 12 Jun 2020 15:47:10 +0100, Kieran Bingham wrote: > > > From: Laurent Pinchart > > > > > > The MAX9286 deserializes video data received on up to 4 Gigabit > > > Multimedia Serial Links (GMSL) and outputs them on a CSI-2 port using= up > > > to 4 data lanes. > > > > > > Signed-off-by: Laurent Pinchart > > > Signed-off-by: Jacopo Mondi > > > Signed-off-by: Kieran Bingham > > > Reviewed-by: Niklas S=C3=B6derlund > > > Signed-off-by: Niklas S=C3=B6derlund > > > Reviewed-by: Rob Herring > > > > > > --- > > > > > > v7: > > > - Collect Rob's RB tag > > > - Remove redundant maxItems from remote-endpoints > > > - Fix SPDX licence tag > > > > > > v10: > > > [Jacopo] > > > - Fix dt-validation > > > - Fix dt-binding examples with 2 reg entries > > > > > > [Kieran] > > > - Correctly match the hex camera node reg > > > - Add (required) GPIO controller support > > > > > > .../bindings/media/i2c/maxim,max9286.yaml | 366 ++++++++++++++++= ++ > > > 1 file changed, 366 insertions(+) > > > create mode 100644 Documentation/devicetree/bindings/media/i2c/maxim= ,max9286.yaml > > > > > > > > > My bot found errors running 'make dt_binding_check' on your patch: > > > > /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/me= dia/i2c/maxim,max9286.example.dt.yaml: example-0: i2c@e66d8000:reg:0: [0, 3= 865935872, 0, 64] is too long > > > > > > See https://patchwork.ozlabs.org/patch/1308280 > > > > If you already ran 'make dt_binding_check' and didn't see the above > > error(s), then make sure dt-schema is up to date: > > > > pip3 install git+https://github.com/devicetree-org/dt-schema.git@master= --upgrade > > > > I have updated my dt-schema installation to the latest github master > -------------------------------------------------------------------------= ------ > Successfully installed dtschema-2020.6.dev8+g4d2d86c > > https://github.com/devicetree-org/dt-schema/commit/4d2d86c5cd65cd3944ce0a= aa400866bc36727bea > > $ /usr/bin/dt-validate -V > 2020.6.dev8+g4d2d86c > -------------------------------------------------------------------------= ------ > > But I still cannot reproduce the error. > > However, I see this commit in your next branch > https://github.com/devicetree-org/dt-schema/commit/b72500282cfd2eba6f9df4= d7553f696544b40ee6 > "schemas: Add a schema to check 'reg' sizes " > > Which sounds very likely related to the above reported error. > Was this intentional ? Yes, I can't add the new checks to master until all the in tree schema are fixed yet I want to check submissions with pending checks, so I created the 'next' branch. > I'm not sure how I should handle this. The error reports the i2c node > parents should have both address-cells and size-cells properties set > to 2, but in the example there is not i2c node parent at all :) > Should I add a parent node for the i2c in the example snippet ? The examples have default sizes of 1 cell. If you need something different, the example has to define a parent node to specify it. In your case, I'd just change 'reg' to use 1 cell each. Rob