Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp582730lqp; Wed, 12 Jun 2024 09:57:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWpsfbffr/5iTUwSNYw7A+AhzptH6YqRT+FvCrPjyE3tFCO0i4uwuG0Oe/fj09WquQltdbj/xqJNwsE2J48aXTlynR/SCoNvCLzru7pKg== X-Google-Smtp-Source: AGHT+IFAPla9FtzX3E/VO+dZE4T662pwmVniBn0F5CDKAKCuA43yuuA7FHgtLFZw1IxD4EnDF+0S X-Received: by 2002:a92:c54b:0:b0:375:b567:a69f with SMTP id e9e14a558f8ab-375cd14a530mr28744725ab.8.1718211432096; Wed, 12 Jun 2024 09:57:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718211432; cv=pass; d=google.com; s=arc-20160816; b=Z+S/9yFKC/9jwNsB5vl98R5rwDafmmMbR/N+C/hiaH4OPQC8CgYxMCsXWqLgJsoR00 +xdruVnzUh0xKw29BiOrRiR7JfmSPmcmqrn1Wf7xymJznb0bEl2TTUuPhAIdTPfnrN1+ 7qZCNvtzB0O8Q8lw2Dj4/inIPplICYcyVGCmZrcDN9Dl5lbHVU/yQDJ/SAiRe47r0+vx aC7z5+EoS456m0/CPcrZG3bHYBqe7vifG74psFWKnfJSLjQw5E42T8WxXfTTYgFWFyKo nWi1P1Lj47RFz2lSrmDJDlVyEf2noK3a6eTxtBYE3k0a0fTWmO5F9hThpOdkx4qnSwVE Il8g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=9DJSFLvQZvRVg+8Bw2GpeRmqBb/Y4YmCgrCnVdrYsxM=; fh=gMdHEStQxSia1FlayQriZOXrGrS9wkGxU/vZXDdf5rI=; b=v8LrAe+O+Rr2wufAbWSbC+bdnEkSNzHS1TJXsN0il7YeZhmjLi6zkPVK3b1wcIca6X dG+gWCjomb4zif1etsihRQ/nsRbqaFsNXrKvtfRJKQAdzb6HEdD6AbHID07SLkcxR4WR qRQosyKy6wsS3Lo2u65TrHaJLDlLKYRb06/QaLRcPNc9sTOagy9pBMiZS1sOAc0/Rl7+ /lx0SUvTO5KKFHF/g7LRSYjus9+KRIkperMhwZFB727ZRQno8LXKD5gYLZvlZhyP21Yy 0eX4ughJWtMYJwGIOm5/BaTkqfhFe2VF7WcLzkD+2J7lXVshZAjmuKKbxZoxijnENM5F v/cg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Igv5DP48; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-211918-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211918-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-6de21788ab5si8907748a12.201.2024.06.12.09.57.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 09:57:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211918-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Igv5DP48; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-211918-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211918-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 626FBB261B9 for ; Wed, 12 Jun 2024 16:30:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6BF7E181321; Wed, 12 Jun 2024 16:30:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Igv5DP48" 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 8CD3C12F365; Wed, 12 Jun 2024 16:30:41 +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=1718209841; cv=none; b=DkMmmb5GsUqkxS/yVDGUmkiTTu6z75YimrihyOxXF+/gdOEVv37y2YyTWz8gD5hLL8XKjwtq/ypi8gVOgzvgO4b4c9ZWxj4bzw5Njow5RM4To89FbcYszJRxx3elkYJIviri+GGHr5JkzYDNVVq9oO8ippgGlG9C3OtPwaTQf20= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718209841; c=relaxed/simple; bh=MuDkD4Y5Xr/E5kiJGSuSZCUhZSy7wFH47LvJyu+n4XU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=C8QKSRwPRxQY/DOivdV7aYIjTqANDHB6uHvwUwhgjH36Wl1SOp7OIE/eqPKB79A9d78i0BIZg/VVSWFcre7eEiwtB14Yoa/h09l6c9pqBpXdMad1etmZOUM/3KA2Ut1tA6LZQFkjN4k6usrP2z103U93qMV3uVXkxjqKbZqbEOE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Igv5DP48; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C2034C116B1; Wed, 12 Jun 2024 16:30:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718209841; bh=MuDkD4Y5Xr/E5kiJGSuSZCUhZSy7wFH47LvJyu+n4XU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Igv5DP48E7gNgtaishMOuW/uxRb2oa2oF1jJSIBsCB94WOPVICkT7NUItrvQSDu0a ppA/Xf5jRb7QXNe5semzQH/6wef5jzHca7S1Myl10h4d2hrdevl0t3uZebUc0K07bQ pcrTcyFxVebMSGwUNnEiZostHhIRgXH5blHo3QrXuABbK499JO9GNiICuitw6q+v4h pR0J4Bi1mnn5UHOeQEsNwU82r+3NCQrZWO75rl+h37W3oML3a4Nsh9xFZiISpNTmL4 z0qwT0OD9XrgnDfFC2iBZC5W5dapwtv/sN1hOtw4e4n5Q3K0ct0IZEf6LP5IQnO0pm FWduKDqn58PGQ== Date: Wed, 12 Jun 2024 17:30:36 +0100 From: Conor Dooley To: Alisa-Dariana Roman Cc: Alisa-Dariana Roman , Jonathan Cameron , Michael Hennerich , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Alexandru Tachici , Lars-Peter Clausen , Jonathan Cameron , Rob Herring , Krzysztof Kozlowski , Conor Dooley Subject: Re: [PATCH v3 1/2] dt-bindings: iio: adc: ad7192: Fix clock config Message-ID: <20240612-daylong-unnamable-c6f3aa60c8e3@spud> References: <20240612141637.175709-1-alisa.roman@analog.com> <20240612141637.175709-2-alisa.roman@analog.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="jKTczYEpqqA+Uas4" Content-Disposition: inline In-Reply-To: <20240612141637.175709-2-alisa.roman@analog.com> --jKTczYEpqqA+Uas4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 12, 2024 at 05:16:36PM +0300, Alisa-Dariana Roman wrote: > There are actually 4 configuration modes of clock source for AD719X > devices. Either a crystal can be attached externally between MCLK1 and > MCLK2 pins, or an external CMOS-compatible clock can drive the MCLK2 > pin. The other 2 modes make use of the 4.92MHz internal clock. >=20 > The presence of an external clock is optional, not required. When > absent, internal clock of the device is used. >=20 > Fixes: f7356e47032c ("dt-bindings: iio: adc: ad7192: Add binding document= ation for AD7192") > Signed-off-by: Alisa-Dariana Roman > --- > .../devicetree/bindings/iio/adc/adi,ad7192.yaml | 14 +++++++------- > 1 file changed, 7 insertions(+), 7 deletions(-) >=20 > diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml b/= Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml > index a03da9489ed9..3ae2f860d24c 100644 > --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml > +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml > @@ -39,11 +39,15 @@ properties: > =20 > clocks: > maxItems: 1 > - description: phandle to the master clock (mclk) > + description: | > + Optionally, either a crystal can be attached externally between MC= LK1 and > + MCLK2 pins, or an external CMOS-compatible clock can drive the MCL= K2 > + pin. If absent, internal 4.92MHz clock is used. > =20 > clock-names: > - items: > - - const: mclk > + enum: > + - xtal > + - mclk Nothing in this commit message explains why "mclk" is not a suitable name for either of the two configurations. --jKTczYEpqqA+Uas4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZmnNLAAKCRB4tDGHoIJi 0oivAP9ktMVN6kGzDFf2XPHRXYTqo7uhIEZosOdgNo/1+GdS/AD/XfF4SgDkYQ3j fXy1FbHzAmmbzVEl0pVGOUJBRPv9XA4= =SUxL -----END PGP SIGNATURE----- --jKTczYEpqqA+Uas4--