Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp139001lqr; Wed, 5 Jun 2024 01:07:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVfAhu6ijiNckKVTY22s5fLkEHzdl0nLwJPw9vKSByhtEm83hT5guiPhuo6yQF4YndjoLB9Uomz/4St2X8OR3rb7iP83CO7jrNYRCIKHw== X-Google-Smtp-Source: AGHT+IHR37wpZMfKjF8C1rCNNPQx8/TsAokffpBBUZzT35slttz24jrcR/af+jmkmOiuncrsuI4i X-Received: by 2002:a05:6e02:1d84:b0:36c:dd5:63a1 with SMTP id e9e14a558f8ab-374b1f3e229mr16224125ab.24.1717574862444; Wed, 05 Jun 2024 01:07:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717574862; cv=pass; d=google.com; s=arc-20160816; b=0O1023GkoUMUwk5dCY2OAFrEIpHx5D8UE7MYCOaPj4S/tNin28q5N9w+cgVdvCzs5H tiq6rpAXLk5l/GMjC3WC/dlN5sUlddFRsY15bVZr9TZFYr44j9f9SeXPVVwUVPJ/Rggo 4RTNhXS6qzt+Jl7ePA5rl81RDo5b5aPD+fXklAl7LUa3GBJaOnliG0kl2vpj+bMmNTln 6i23MmvTGa17/QhCGVipnHCBeBXWhJM+0mNpeF9E59j2v+Wh5d2w80Rb823PZ6rGRm7V SVkFENuUwevu8WDYsXSJtVLx7G8j88m6Cz9oikyk++NNAsqRy/RSbu/k8E5V8XxjnXqw e9nA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=QE48rjLLSnHjL3J/a7ryDYFQc+r+qML3fq7+xpEMY6E=; fh=En3vC3hvO2qGqX/XkqVRdXAmsNc7X4qAGiaRTRfbToo=; b=bewvJ9OSLCjeWCZWvT5Y1FAMlMk7/SPn3nYHifv0wdRVny7322G03WwTFLxC9Bpp6W IQbIoYv9VPGBH1rBcdV2mfaQb83yb6R1FfxJjAL5NRbWLWg+ZwBBieiYQja91Vwk6G0d ojpMe0wDadK+QpRUuu+ll/wq4UsNW1LT9pux31qpOM5K8zRSC8+fTB8yWP3emg2XCER6 K8N7PK+wqbiKnOyHNa92fYdxuysrFrnciOPPEXu6NolTibtsWFf9EIBR02AauggRPMtu wOqDZuxNqsUD1G1vGLvU0mNJYyHhrsD7yEvNa/dLSdxeN/TfWl1wpUlogrZ56eGR20po fG6Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HewE2DkR; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-201924-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-201924-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c35b40c7a6si9974930a12.579.2024.06.05.01.07.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 01:07:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-201924-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HewE2DkR; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-201924-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-201924-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 07888281F43 for ; Wed, 5 Jun 2024 08:07:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1053018F2EC; Wed, 5 Jun 2024 08:07:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="HewE2DkR" 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 1E7B21922FC; Wed, 5 Jun 2024 08:07:32 +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=1717574853; cv=none; b=Xtgp1Wiv1d+VX2xgb/hhHmETiqbWJjkQSjxamV87K2xjxCVBvJFrY0ktLtGBqZdnlRfs4sWH/JmYYxOIvaxOcusgwd/vjXV87g/YGyPNmIMMtDShTHotPqttxFyrSiyvm7GBDvQwEbq6Jec/T1E/yzlEBTvYCnd6OBWHvJU/tuw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717574853; c=relaxed/simple; bh=uGi3IfjB+sz5WIuF8mXPls+BVIXDBOXagFr28P1m0/M=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=CvkRQmaXaai2KVBn+NAewwUH2qGe0e3BVIIKSt2oWUAswF7lxPlSvk8vqOE+7Vqjicc03+QbUNaFQoZTvL68W52Nexw0E1tyM0tuuE+fOq9d8rtGApI2X9YQxijiekaNa0uViGByFpHZi1Ak1kHHx80j1ZO46fp7KXe1b19F5oc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=HewE2DkR; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2AFF7C3277B; Wed, 5 Jun 2024 08:07:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717574852; bh=uGi3IfjB+sz5WIuF8mXPls+BVIXDBOXagFr28P1m0/M=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=HewE2DkRUkY+2UEkDd0gAn8LU1vO3kJ6UO9ELYeHPtxtuPtLZ1V9wSUsH/qw9dwYc wOKXC1swB/23G4OSoiT0oIJ1AFNV4yyKD/4Z/i7LakvcRdWlWHal+zk6qFaqTdw6QH x79P10dliKWPh3e5up49i60lLd64Tux2VfvhOCni+Pm3qeA5WvpYl/TqwQvkKflNBK JfZiL7W1C2w4oI5ghEJyKNY21xDwECl6CW/+fC3UAlrUDCHx2ymtxtE9JtyR5MCIVH Oig0hSTaScpH2RSAR0KZaUVjeDsIJYRAIsVmj9RKYqMi/o298h/nR/lxz8gLnkXD2b pe7v+5ZVtl8pA== Message-ID: <3386003c-a92c-408b-8dfe-290b79fb8f25@kernel.org> Date: Wed, 5 Jun 2024 10:07:27 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 2/3] dt-bindings: iio: adc: ad7192: Fix clock config To: Alisa-Dariana Roman , Alisa-Dariana Roman , Jonathan Cameron , Michael Hennerich , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Lars-Peter Clausen , Alexandru Tachici , Jonathan Cameron , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Liam Girdwood , Mark Brown References: <20240605075154.625123-1-alisa.roman@analog.com> <20240605075154.625123-2-alisa.roman@analog.com> From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzk@kernel.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzSVLcnp5c3p0b2Yg S296bG93c2tpIDxrcnprQGtlcm5lbC5vcmc+wsGVBBMBCgA/AhsDBgsJCAcDAgYVCAIJCgsE FgIDAQIeAQIXgBYhBJvQfg4MUfjVlne3VBuTQ307QWKbBQJgPO8PBQkUX63hAAoJEBuTQ307 QWKbBn8P+QFxwl7pDsAKR1InemMAmuykCHl+XgC0LDqrsWhAH5TYeTVXGSyDsuZjHvj+F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-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 05/06/2024 09:51, 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, which can > be made available on the MCLK2 pin. > > The presence of an external clock is optional, not required. Why? > > Fixes: f7356e47032c ("dt-bindings: iio: adc: ad7192: Add binding documentation for AD7192") > Signed-off-by: Alisa-Dariana Roman > --- > .../bindings/iio/adc/adi,ad7192.yaml | 19 ++++++++++--------- > 1 file changed, 10 insertions(+), 9 deletions(-) > > diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml > index a03da9489ed9..c5a4219a9388 100644 > --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml > +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml > @@ -39,11 +39,16 @@ properties: > > clocks: > maxItems: 1 > - description: phandle to the master clock (mclk) > + description: | > + Optionally, either a crystal can be attached externally between MCLK1 and > + MCLK2 pins, or an external CMOS-compatible clock can drive the MCLK2 > + pin. If absent, internal 4.92MHz clock is used which can be made available > + on MCLK2. > > clock-names: > - items: > - - const: mclk > + enum: > + - xtal > + - clk This mclk->clk breaks the users. Best regards, Krzysztof