Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2733832rdb; Wed, 4 Oct 2023 09:47:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFi0Rf53T0ZL8jcrQ4tc918nh4XppvBnlxcSJNrnONL2PUUiY9/CikR47e3Y7viJmF/5kHi X-Received: by 2002:a17:90b:e8c:b0:274:6d22:3430 with SMTP id fv12-20020a17090b0e8c00b002746d223430mr2722303pjb.43.1696438072635; Wed, 04 Oct 2023 09:47:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696438072; cv=none; d=google.com; s=arc-20160816; b=CplrcYnJMcegIkVTIWMiFLL0/uduYQBRw/W8OMGw7PBBenOQdkJmtttKyC3vEILFqZ nOMoYDlRBQs78qB8/mit2JPgmk7vrhfmz0MWY6bYaOQl45Q/KNARjsOWV51+1sj0vVci neUjMhx9+NrPAnQ+mUb4cdmvRwjAAqQf6dTiVMWbRVbhciLk1foytLmEf5vvpnFzGaq+ c6uDnH4lzOeRbIAl/DaNlAtXNejpzA7ulGVFQsWmJR4GbnaU2O0tkNilIk5XBuqmTFsx cPrAIrd2/jXCN2+K2op1Wsr4UoO0i5wHGTlQVXB2AI/8MTDtPmbb93yn/OeH9ogjpjbS HE3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Dw7sBhpVVSezq3YuAxudzxGNz4AKjy6+MQ3UdvcoBAA=; fh=dDG42M+B4KwL41cOMB0OfSorrEAm2JCQQj3HgFSlZxY=; b=avnOlBBvXn+Hiu++XBbbGm2DJPrpzqFVt8QdpsLFC77rPcMputWNFU121tzR51uESP S/jpFB4HAhr8GEWgo/eFhBUo3AYQHM3WOUS/3dnnMA80ZVoj99cblSP4T8UmdixxS94G 2VeSNdOyChSnJLPhBN8ZK8tpe9kYqhy1PSc+/R9H57U8+suW+JLtPBujiIgR/xru1k6w tvu2Mp5TRx1WsQhqNtWt9aCAlrVdWoaDHk6ajDpLD+o8kKvSZJjYkO8gbuMIoV3IZ58r 90UqKukefFoGIytr/GpJXotcAyzF03alD0/ncsb/Fj4gXALv9x9iA8B+9KPfTGwXLIKE NQSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XWT1rYlO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id s5-20020a17090a6e4500b002772b8993ebsi1864003pjm.159.2023.10.04.09.47.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 09:47:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XWT1rYlO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 5C8A7801CB7D; Wed, 4 Oct 2023 09:47:49 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233112AbjJDQrd (ORCPT + 99 others); Wed, 4 Oct 2023 12:47:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243410AbjJDQrc (ORCPT ); Wed, 4 Oct 2023 12:47:32 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE8CFAB; Wed, 4 Oct 2023 09:47:27 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 742A4C433CA; Wed, 4 Oct 2023 16:47:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696438047; bh=u5vibFQwkh8UIxXlWdlTN5pp+bQqeetBERWkOE476cs=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=XWT1rYlOevfblznVe03wbu+5L4ift3Gq1rm/KKWsQ6EnYQH6QXWYVxED5BwPB+xVU 84ngMoTdzr6BBgSP6reG4f4+lL97qLZmtQu+st7dG48HJpPjM/f/5Axpr5aX/wMzxD VRCtxfEtKi/Js+V0oVD5OLrffNr6lgW7/YVZQuuRtYCQ/3xoMwt80H+PSaPFKWqhdz GI6IQEyYNVqsaTI5yHKEr1vfWUos3faBJX/uo3lCn6mxNqt5uBAqyrdUiTG27oobex sSG51wxTIr2JnVLaZNlUGIl7Sky1qQbARHBjSokUI2DXkHYKDu3DV/oA9EL6D+7Fff d7grcKvMLRBxg== Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-505748580ceso26286e87.3; Wed, 04 Oct 2023 09:47:27 -0700 (PDT) X-Gm-Message-State: AOJu0YwnDBAIvbnNV9VVvdQgYoHWShWMAXdixoGXmMe3lmMSbxhR0lnf 3vq4nX2iyeNIjOILc4+dRrau2RJPWKKpejDYPA== X-Received: by 2002:ac2:5f6e:0:b0:503:3281:2ffd with SMTP id c14-20020ac25f6e000000b0050332812ffdmr2112624lfc.41.1696438045612; Wed, 04 Oct 2023 09:47:25 -0700 (PDT) MIME-Version: 1.0 References: <20231004161038.2818327-1-gregory.clement@bootlin.com> <20231004161038.2818327-7-gregory.clement@bootlin.com> In-Reply-To: <20231004161038.2818327-7-gregory.clement@bootlin.com> From: Rob Herring Date: Wed, 4 Oct 2023 11:47:12 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 06/11] dt-bindings: mips: Add bindings for Mobileye SoCs To: Gregory CLEMENT 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?B?VGjDqW8gTGVicnVu?= , Thomas Petazzoni Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email 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 (agentk.vger.email [0.0.0.0]); Wed, 04 Oct 2023 09:47:49 -0700 (PDT) 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/Docum= entation/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. > +# 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 '|'. > + 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. > + > +additionalProperties: true > + > +... > diff --git a/include/dt-bindings/soc/mobileye,eyeq5.h b/include/dt-bindin= gs/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. Rob