Received: by 2002:a05:7412:518d:b0:e2:908c:2ebd with SMTP id fn13csp386438rdb; Thu, 5 Oct 2023 08:41:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEzME+QTIU8D0/W2m99/jmHtPFeWIsMHO1mGV+mdl1SBr2c1RW5Siud1X1EN0YHIuOao8jj X-Received: by 2002:a17:90a:6e41:b0:26d:14cd:fb1a with SMTP id s1-20020a17090a6e4100b0026d14cdfb1amr5482818pjm.23.1696520506268; Thu, 05 Oct 2023 08:41:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696520506; cv=none; d=google.com; s=arc-20160816; b=v9MX2rRVp50OcOGP70v6CFE9tX/yeq/zTQnTQYbVk5jbSJ0/E7yu2MqQeV+Md9dH5L Ps2bU4dXoLrg9oEhbOOqeN6OlROsoUdYUzNitp2OaJV0LMFJnklV+DXPtWapmgNE70gw WIGMLOzuFlpyOnGAhoengifrI6ixecffXWu1ythKfEvp3B5DShlqOvNONLpz4ugXEKZ1 ZfkAZ6dQz8N8/cuUC6fh4OO3DfiqVXoxVHf23qPh7JEGQSvLp5XzZCz4qYE5zFpNFeDA s4yy8bnVsDYaVPlDRGWZ1SPZxaLVN+TRbEnymi466cEXwskghBYj4wFnJ+fJEgvHzuKY RnYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=SvI9F4vpIQD7DGUds/vKMgxKyvlPUyCYmEns2PApKAM=; fh=BlGEIBqPrjJf0lRYpVWGPYQ9+rcA9U/kAHv58ZHiyek=; b=ViEvEntHFyoMUsgZQiszawEpGHpHrANbRHVio/yubgieyCvx+wHWCkbYy6JgqFHqym OWIgWZpFN+TD2PEBE22psMt3GlhkDtdL1/WogUKOb+FlMdCHAKVAwVwBIr3GOcg2Pumx TlEMCtebAz4fG/3Q+MGwMMuylYOoI7U/Cs3fxXk108f8EsTJnjBxXFNM3cX6TMkuLlQT zdaFVT2FqeHWeoU4NIVCXDjQkAUYIb+6WFZDKCQYdu3+iAiaOmKUyNfNJSYyBhFjsQvu a3iw8wHMeepKs6NJqCjxXpmPMSpiMgG/HgqPpogrI/cVhZSITeBc83B/xNzgGrYXLXyk UHRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Fcc6hcRq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id bx24-20020a17090af49800b002774c17dd73si1798445pjb.11.2023.10.05.08.41.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 08:41:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Fcc6hcRq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 23197802CF96; Thu, 5 Oct 2023 08:41:20 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234000AbjJEPlB (ORCPT + 99 others); Thu, 5 Oct 2023 11:41:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233553AbjJEPk0 (ORCPT ); Thu, 5 Oct 2023 11:40:26 -0400 Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::226]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C290545A2; Thu, 5 Oct 2023 07:55:11 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id 69804C000E; Thu, 5 Oct 2023 14:55:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1696517709; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SvI9F4vpIQD7DGUds/vKMgxKyvlPUyCYmEns2PApKAM=; b=Fcc6hcRqta8x25TA7UMjiq2gKaY+Q0us1KsJDE/UkN+k0KIcdLxomfknYlV9sp58coRJtE 4VwtTbzPhf8EXROYr+gVTy688geKbr5i0ujDTwWT8Yt0HJYsPWfT2TxWTM9D6AaJiHodRm nVt8DH8DGnXS1RLIx6XzvCs01V1XhsFYQ1TovqYlI7OYD0wfLFo/Zu2rzwfbt2N2OvH/PK XwAXKhrfmDR8QHw3Px6XENUOZA8ZL4KX7yTd18QkZcwVDF6X2pcE20zK1GXSrvB9hMTICH VRUVB4+IvyAJc+bGMSlHXjBphHnQCFmNBAN8KzeRW3TG3UtE17eu/OjkcKb9zw== From: Gregory CLEMENT To: Rob Herring Cc: Paul Burton , Thomas Bogendoerfer , linux-mips@vger.kernel.org, Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vladimir Kondratiev , Tawfik Bayouk , Alexandre Belloni , =?utf-8?Q?Th=C3=A9o?= Lebrun , Thomas Petazzoni Subject: Re: [PATCH 06/11] dt-bindings: mips: Add bindings for Mobileye SoCs In-Reply-To: References: <20231004161038.2818327-1-gregory.clement@bootlin.com> <20231004161038.2818327-7-gregory.clement@bootlin.com> Date: Thu, 05 Oct 2023 16:55:08 +0200 Message-ID: <87pm1tce5v.fsf@BL-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: gregory.clement@bootlin.com X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS,URIBL_BLOCKED autolearn=ham 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 05 Oct 2023 08:41:20 -0700 (PDT) Hello Rob, > On Wed, Oct 4, 2023 at 11:11=E2=80=AFAM Gregory CLEMENT > wrote: >> >> Add the yaml bindings for Mobileye SoCs. Currently only EyeQ5 is >> supported >> >> Signed-off-by: Gregory CLEMENT >> --- >> .../devicetree/bindings/mips/mobileye.yaml | 36 +++++++++ >> include/dt-bindings/soc/mobileye,eyeq5.h | 77 +++++++++++++++++++ >> 2 files changed, 113 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/mips/mobileye.yaml >> create mode 100644 include/dt-bindings/soc/mobileye,eyeq5.h >> >> diff --git a/Documentation/devicetree/bindings/mips/mobileye.yaml b/Docu= mentation/devicetree/bindings/mips/mobileye.yaml >> new file mode 100644 >> index 000000000000..f47767bc2c8f >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/mips/mobileye.yaml >> @@ -0,0 +1,36 @@ >> +# SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause > > Use what checkpatch tells you. From my point of view GPL-2.0-or-later is compatible with GPL-2.0-only, but OK I will do this. > >> +# Copyright 2023 Mobileye Vision Technologies Ltd. >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/mips/mobileye.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: Mobileye SoC series >> + >> +maintainers: >> + - Vladimir Kondratiev >> + - Gregory CLEMENT >> + - Th=C3=A9o Lebrun >> + >> +description: | > > Don't need '|'. OK > >> + Boards with a Mobileye SoC shall have the following properties. >> + >> +properties: >> + $nodename: >> + const: '/' >> + >> + compatible: >> + oneOf: >> + - description: Boards with Mobileye EyeQ5 SoC >> + items: >> + - enum: >> + - mobileye,eyeq5-epm5 >> + - const: mobileye,eyeq5 >> + >> + - description: Boards with Mobileye EyeQ6 SoC >> + items: >> + - const: mobileye,eyeq6 > > Not valid to have only SoC compatible. Add this when you have a user. OK > >> + >> +additionalProperties: true >> + >> +... >> diff --git a/include/dt-bindings/soc/mobileye,eyeq5.h b/include/dt-bindi= ngs/soc/mobileye,eyeq5.h >> new file mode 100644 >> index 000000000000..7d8cb97b45bf >> --- /dev/null >> +++ b/include/dt-bindings/soc/mobileye,eyeq5.h >> @@ -0,0 +1,77 @@ >> +/* SPDX-License-Identifier: GPL-2.0 */ >> +/* >> + * Copyright 2023 Mobileye Vision Technologies Ltd. >> + */ >> +#ifndef _DT_BINDINGS_SOC_MOBILEYE_EYEQ5_H >> +#define _DT_BINDINGS_SOC_MOBILEYE_EYEQ5_H >> + >> +/* EQ5 interrupts */ >> +#define NUM_INT_I2C_A 1 >> +#define NUM_INT_I2C_B 2 >> +#define NUM_INT_I2C_C 3 >> +#define NUM_INT_I2C_D 4 >> +#define NUM_INT_I2C_E 5 > > These are interrupt numbers? Note that we never do headers for > interrupt numbers, so drop this. OK Thanks for the review the changesrequested will be part of the next version. Gregory > > Rob --=20 Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com