Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp367523lqh; Sat, 4 May 2024 04:53:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUcsZz89xbWBoJ7Kzo195hNGGwAS8ramxP4PXzzSuuuCMOg0TYNOhdxBtn+knKxE5JMT/TLiwkorfQhgr6clDIsJ9TnrfypsynTgm7SEg== X-Google-Smtp-Source: AGHT+IHLHMSySa3TKagIO03KNO/mhAaSvQ/g0hZvBT5Y9Ar80zkQL+XRBvLOo4SpqLFnO5gyf3kJ X-Received: by 2002:a17:906:4f0f:b0:a58:bcdc:cf40 with SMTP id t15-20020a1709064f0f00b00a58bcdccf40mr2553675eju.77.1714823581807; Sat, 04 May 2024 04:53:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714823581; cv=pass; d=google.com; s=arc-20160816; b=raL6manqpLeN7/lNtdhAMDZOxG+GE9cCUzyCiE4mpJI+I5h/hpill8xUiVhg4r5JEE nEJimdiqBmuXubqYoKmBlgILgQobpV5oF6tYDoRTUs15N2Wi1a1WY4kfJgI8TuatiDSO 84kjyK3d9qJpqx0w33Yft2iaprYb7Jb31HR8RU1QcGigoJ2l7a6pwRZlhE09nUMr9AjT ffyvjPar5r1I55rzF4yfqFc6rgSz6YHFc2TFnx7TYcsYT4HUdkRUqFcpqM6gNP97+X3q LX852nDu04xlnw9VyVjW2UlV69auKRwsW16Tx04Gld+IQhtzO7DznDg0WCqlnit/ByoY OaIg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=avwqSXRl5laPsdKhu1XOn4bcUrvuWNxorto/hp33SC0=; fh=ik6onIFiHK3WrCyP56lJujDwg1HNlTFjtEDVYEC6p5A=; b=WUjYONIlDDfbJhxWk61trTKtqqE98/tHGMBl2EBq60RhsXDc7jguAfc5LwKRUxOfni QQwWKuJL9C/hKvhtJbdSjNURq1lkj1Gl/UPdRbF6/Fhvu8/vZSPQQpRx/wqpHEj9EYEB Rim52ULdUcf0YFVS99X7up7Qy9Jub/kExcYeIZthCVcH/1CGhl2l3uu3ufiejF0ZicVb /O2n7T/jqrcYvN1frS3phqRfq4lYA9OpI1Az1BDKm5uV2b8n7uFPKfN5y+yH2VMX7Bel o5DNZnWIZfTj1s5Ztv9ugNOyUR0Jjwp37VnQjsGa3SFKyFdcAAjRhDq2FTNNdmOxU/6T S4zg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=V3pnMKNr; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-168626-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168626-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id e18-20020a170906315200b00a555eae898esi2571986eje.108.2024.05.04.04.53.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 May 2024 04:53:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168626-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=V3pnMKNr; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-168626-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168626-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 8986F1F21D11 for ; Sat, 4 May 2024 11:53:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C673D20B35; Sat, 4 May 2024 11:52:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="V3pnMKNr" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E7E9DF513; Sat, 4 May 2024 11:52:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714823573; cv=none; b=J+ejavVsSopsTIYW/pPE2eZzDus8PMTl6d0xaw/Ac11fweE/louDCbztv/MOlAZXMoDmHstagzRsgcInZg7+ZUH5VLSrmtjn5nI9GDgmLpsUqxXo/TIJtrIFW96vmh+zIdGA8ihXqa+On+fN1eK3KvHjRArq6bN4jG4G4MYRChA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714823573; c=relaxed/simple; bh=M1Eow/Hwn2Mnc9f11s+ZrLorbo3+uGhlKvf5J52KRuc=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=SkCj46Nrxv9ewjpCzmgcyIMg8TOyxYHjyuPaT9QnhlYykrbhkdEyp/jz83AO3nT2DiSmpCB8bHJFyvW9fu2+LXDk5em6Wmx5UNb3fhCeZW0YFKwxlLkCQQOFQQlBItYw3XWJCmiOLpE7E0Y1kF1lKNy14O7g3b1Q0hjuiinjfjY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=V3pnMKNr; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id AA6F0C072AA; Sat, 4 May 2024 11:52:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714823572; bh=M1Eow/Hwn2Mnc9f11s+ZrLorbo3+uGhlKvf5J52KRuc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=V3pnMKNroRAVKjC2Pb5zLdRO9M1XNICYEEWQWaL0ghTjpZ7pMv86dttUMajypOqsb xjfspe45LQGPwJ1svW66arOZpg1W2001VOSaYdzcODwDpW5KeETME6fWPtwQls1ZdG FzMPYYWckLa0jDHTzRSWBwQiI/iM+U1DoXoj+RrjMUg8VMlO9QVlzfs0oTv6HU7g9f QlWYZXvXMpUrMdwR24x7W6PtTBB0jHzUPHsmG6/3sgpxY83fI0l0EmfjG8216MNjip uPO+Re4CswXTSRCjQkAn9LyJ0zUmJCawUe3BZVkIO/S32s49MPWzUsD8aaRGRcaE1q jZjEwWJQeMhqg== Date: Sat, 4 May 2024 12:52:42 +0100 From: Jonathan Cameron To: =?UTF-8?B?QmFybmFiw6FzIEN6w6ltw6Fu?= Cc: Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Danila Tikhonov Subject: Re: [PATCH 2/2] dt-bindings: iio: imu: bmi160: add bmi120 Message-ID: <20240504125228.0efe24bf@jic23-huawei> In-Reply-To: <20240504-bmi120-v1-2-478470a85058@gmail.com> References: <20240504-bmi120-v1-0-478470a85058@gmail.com> <20240504-bmi120-v1-2-478470a85058@gmail.com> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sat, 04 May 2024 01:45:25 +0200 Barnab=C3=A1s Cz=C3=A9m=C3=A1n wrote: > From: Danila Tikhonov >=20 > Document bosch,bmi120 compatible. >=20 > Signed-off-by: Danila Tikhonov > Signed-off-by: Barnb=C3=A1s Cz=C3=A9m=C3=A1n > --- > Documentation/devicetree/bindings/iio/imu/bosch,bmi160.yaml | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) >=20 > diff --git a/Documentation/devicetree/bindings/iio/imu/bosch,bmi160.yaml = b/Documentation/devicetree/bindings/iio/imu/bosch,bmi160.yaml > index 47cfba939ca6..9ca874aea837 100644 > --- a/Documentation/devicetree/bindings/iio/imu/bosch,bmi160.yaml > +++ b/Documentation/devicetree/bindings/iio/imu/bosch,bmi160.yaml > @@ -16,7 +16,9 @@ description: | > =20 > properties: > compatible: > - const: bosch,bmi160 > + enum: > + - bosch,bmi120 > + - bosch,bmi160 Please use a fallback compatible for the bmi120 similar to handling done for st,asm330lhhx in st,lsm6dsx.yaml Whilst the driver would currently reject the chip ID, the binding should assume the driver does fallback handling correctly. Jonathan > =20 > reg: > maxItems: 1 >=20