Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2116763lqp; Sun, 24 Mar 2024 04:07:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXuAQqZDiaWu1IugONlz1pn2II025syM7CmsMVIsRDGPxfSTsHq662COAntxtgnx6gfSxdx5RT/jODaRN3OVAloCSdFabRKU9V6B4R+pA== X-Google-Smtp-Source: AGHT+IHSTPAnhzSy6UiXu4uogPs4slfh1c8NDyg5It1dNz3tvgyWho37RNDeAE0uIdbeskpxG/v9 X-Received: by 2002:a05:6214:124c:b0:690:299:1909 with SMTP id r12-20020a056214124c00b0069002991909mr5517881qvv.50.1711278461758; Sun, 24 Mar 2024 04:07:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711278461; cv=pass; d=google.com; s=arc-20160816; b=WFEG2Jp4pFkx06UBHHV8VL4s/T65o35PaCJuVXOnWbx8FVGv+naceImIGBejACpjur Yttlmjh6+IFm2+oarEjUR/iafdRwMP9wnE7t+oFVEMxWaKwKDSqc3QenZMRSMARIHFdS mkmsZ7ZqSW28ueWcA+1OTJLo3hoFVuFUUJJeGwVxpNiRQT+ecpE4qjo/JmVzboC37TAI 3o0PoSeqPWipDU3+MzOSsShKn2dPToWfyLxdD0XOxnNJ0PRJtVTJEavaWLkxfLNzhjVP ORHvru/dlYtYR3e01tHbBMHh+3L74xQNJCFKqlw6LT8G5Uy9Npq1iT24Q9O3DOMAcPdB tXmQ== 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=NGvKmdrJmqIEuDfhkeWq1/Bsv2zm6mzzaxq5ume9s3g=; fh=NF90uSxVc6HV2Mr6sp4we7L7tp+nlQ2RM5koegJgz1k=; b=EMCk2Sk3DI6hHPND0KxTYBeZjY3Qd5P3XiDLPSI9HmGRgYAl9YiQSPpQfMO4jDGlq4 Yw7iZNA4L43acVVPhdqpDdQdsZU2r8XWVCTitCZjsHsU9VzcSl6wom/x5SGb9ZZ/IQI5 pgcx4fwbAR0ZJjPO3IOmd3EdZ/pwjfJhnfKMbrtSJG+b/pv1Od8kzu/gTEHFypOe36b5 hA5MirXrdXVBPqWS0h9+/RNUEbXmIKhRUrdvZKZCZDVZh9zGxj8iZHoN5+/bVM9puC+4 8mIPc7uo13us9BAWxxJ+QseqVaHd3H94XD+8KMswiRvlyaiOlR1gG2dYcb7NlQPd7TZp FfsA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=f+Gs6Z+c; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-112642-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112642-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id kl20-20020a056214519400b0068fc839406csi5612281qvb.378.2024.03.24.04.07.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 04:07:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-112642-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=f+Gs6Z+c; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-112642-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112642-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 7E9D91C20A98 for ; Sun, 24 Mar 2024 11:07:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C188117735; Sun, 24 Mar 2024 11:07:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="f+Gs6Z+c" 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 DA73317589; Sun, 24 Mar 2024 11:07:31 +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=1711278453; cv=none; b=glBTFPTcJOzv+Ia1/qVxiMTmD2pDP0shiJ0vj6Knzg1ZW1g3ENvPGGb5EXt8b+oGdIkWGvsmiQdPcMwM67t1qi77v+WsfwzZtUoiObYcAnGiZjZvHTz4203NBMWTGLkvZNaFYrVUKwDcQ76OmTZfiV7z5qaz/9inZNQlr7fqRFk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711278453; c=relaxed/simple; bh=c4DwOWppSfnfeU/csggpl62l/AoBhxYYo3PnytUAr6g=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=olpnrykGYaBdUpDL3IxelmAEklFq3HW/9D0jJh/S3n0f3Zh4z1XPBz4foNI/nVfAI2MhO+sGRiYKgvdHDnvvlOIcTKyKeaOJHbRx4FQD0dfxZRiop8wFkOgeNOhKmhLjpZxUam/CrN2kWwCK9pd7PxvpTd92wOFarCHbWtKzunE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=f+Gs6Z+c; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 00201C433F1; Sun, 24 Mar 2024 11:07:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711278451; bh=c4DwOWppSfnfeU/csggpl62l/AoBhxYYo3PnytUAr6g=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=f+Gs6Z+chTKB0PynaDzxKDYVMmzLIQDib0BphLl9FOGvJ1foQe/nljTsYbLPD5in5 5JlcLQCVTLeuwQnmK7mWGH4MlqyA8g3syPivr/diQf7OQz/IYnKThR/iWh8u79fCku /2mvNFaLqOkO+Ai7kE86b3sHbN7ZGk21udKOkzOTB7zaC6UA4cMlazn4yI9birZuHc KLVFQ5ytzdb5J97FVMGouLyjYARbW6wRbA5PVbFKdFxjOPTEJQXvivDXbtAOKK5gFz YdGoN/w5FVR0Pu2VfxaekhGeANIz2wlpj5Y/fG6EQJ5Pvkiv88AJ6RScBPAoV53WQ/ y0d2JqZdbh1+Q== Date: Sun, 24 Mar 2024 11:07:15 +0000 From: Jonathan Cameron To: Conor Dooley Cc: Javier Carrasco , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matt Ranostay , Jonathan Cameron , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: iio: health: maxim,max30102: fix compatible check Message-ID: <20240324110715.0832e6d6@jic23-huawei> In-Reply-To: <20240317-bakery-numeric-a34b928efa6d@spud> References: <20240316-max30102_binding_fix-v1-1-e8e58f69ef8a@gmail.com> <20240317-bakery-numeric-a34b928efa6d@spud> 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=US-ASCII Content-Transfer-Encoding: 7bit On Sun, 17 Mar 2024 14:37:39 +0000 Conor Dooley wrote: > On Sat, Mar 16, 2024 at 11:56:57PM +0100, Javier Carrasco wrote: > > The "maxim,green-led-current-microamp" property is only available for > > the max30105 part (it provides an extra green LED), and must be set to > > false for the max30102 part. > > > > Instead, the max30100 part has been used for that, which is not > > supported by this binding (it has its own binding). > > > > This error was introduced during the txt to yaml conversion. > > > > Fixes: 5a6a65b11e3a ("dt-bindings:iio:health:maxim,max30102: txt to yaml conversion") > > Signed-off-by: Javier Carrasco > > Acked-by: Conor Dooley Applied to the fixes-togreg branch of iio.git (which I'll rebase on rc1 once available) and marked for stable. Not really a critical thing to backport, but maybe it is worth doing as risk is very low Thanks, Jonathan > > > --- > > Documentation/devicetree/bindings/iio/health/maxim,max30102.yaml | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/Documentation/devicetree/bindings/iio/health/maxim,max30102.yaml b/Documentation/devicetree/bindings/iio/health/maxim,max30102.yaml > > index c13c10c8d65d..eed0df9d3a23 100644 > > --- a/Documentation/devicetree/bindings/iio/health/maxim,max30102.yaml > > +++ b/Documentation/devicetree/bindings/iio/health/maxim,max30102.yaml > > @@ -42,7 +42,7 @@ allOf: > > properties: > > compatible: > > contains: > > - const: maxim,max30100 > > + const: maxim,max30102 > > then: > > properties: > > maxim,green-led-current-microamp: false > > > > --- > > base-commit: c1f10ac840caced7a9f717d4170dcc14b3fac076 > > change-id: 20240316-max30102_binding_fix-898e7c94cce9 > > > > Best regards, > > -- > > Javier Carrasco > >