Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp2492616rdh; Sun, 26 Nov 2023 08:11:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IEyXBHu7LqwYW73jzj286r9ANSKvBH4udXqF9Z8AuH5D9NVHdJwkGZnPtfeQtlDMDyA3j5I X-Received: by 2002:a05:6a20:3d85:b0:187:dd5f:93b6 with SMTP id s5-20020a056a203d8500b00187dd5f93b6mr9205739pzi.43.1701015086556; Sun, 26 Nov 2023 08:11:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701015086; cv=none; d=google.com; s=arc-20160816; b=FHsaqnOt+3bI1UpEg299/dUlnor/tXjQvsSM/M8+6cqDVkuco4l1OxU0+oAMr/RILs nX5IzjYUqYI8AfrGz5CYSkT+aEJkbCt7Yb3mYI3gDcgpKSFl3eJiaUTRR/BDm7K1HNtG QvULNsLFfqg5d5YiMTHLNLe8iz2q3gl9wpbnV7UZtGcz/KFJsEMKh2aWgZ3YPe9d6ad7 vIvCHji2Uj7+2wsLtqVg2sSHQpAS4A25SMAFqCymKaW1zBPHJVHycpMK1SHIJR2emior MGB7G7l0jUrdzVA8V5t1+ngsu8VLKl2Po8GmWlWrWvZrYkEjh3UX2W0yr8tH/m1mPN1W UlbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=3GTMBGbtIx3VEqGvSS3KblSIBkvKx7e2SfGk6eTUhGo=; fh=afLgEoQbNe2pSKrGSRFayBJdFNFnuiMjniW1amKJb6A=; b=ZNZLeXjJqZfjSluUWTHiLkEm+OKv0RikCYZ+gJA9Ca2uNNmKAQEouDEjDVbcf+ipnu JjoCXuS8loyMdsYMSLhH+jno4St23C02pTpf827CYp7j9P1sLEpxpbAw+e7KjZFFIPrS AGMa11+Ck0KQKKmhQDe5W5lHWtsFyGJ36JfVnG6/fsY8MZB2v8J+BGNfblq3HbVImsts PHGl+e1DpwWksdKBJeiKrhOnsOWL3QHsN5CGgAox/Z/mUpAZF9pQJXHSYfdQZQMnFDkg X/r/x9IiLPWeVx+1P/oVvTWTLBAO/uHrTDh/xwk+WkpGmfGpiqs8TR0S2W3KP5fARM+y qucQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="N/6ayRWy"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id i30-20020a63541e000000b005c200c132ddsi7626723pgb.601.2023.11.26.08.11.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Nov 2023 08:11:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="N/6ayRWy"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id 1600A80B19E8; Sun, 26 Nov 2023 08:11:24 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229456AbjKZQLF (ORCPT + 99 others); Sun, 26 Nov 2023 11:11:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231167AbjKZQLE (ORCPT ); Sun, 26 Nov 2023 11:11:04 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C34C498 for ; Sun, 26 Nov 2023 08:11:10 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 19376C433C8; Sun, 26 Nov 2023 16:11:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701015070; bh=EIes0QYBLWnyo1edFguhHHx1rQ6YIR+TiuiW4pxPYnU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=N/6ayRWyob1tyiGTI7X1ERqWCz7P683fLVrM6QIGFACkbgTPObInODiFLKrbU5Dbp IEwccSGD/o0YDGU+GeaaYk5w43C8OMf2ElBTAhRDdtv/xo1/vYEZWVqEP8W/QEtEJF YJ66lR+Vi2Ns93iCyeyS6CvjYRiV02mwo8LM81COi6Uv56aVZ1bOquBOkOElrphURJ 0K3IfNpD//GjaT3NAzCdQT3pJSu3M5aJP1IwjE1A6eq+XKve/6/5ntyjvZ8fgdO8ly +Jv+9vTeIYNtoDHg0Xni/6fYXDhCRRTNVah0/2r6SFtNZhmD7pkjb8LxNfMBoRD0uq HwpoSCG5oagKg== Date: Sun, 26 Nov 2023 16:11:02 +0000 From: Jonathan Cameron To: Krzysztof Kozlowski Cc: Alisa-Dariana Roman , Alisa-Dariana Roman , Michael Hennerich , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Lars-Peter Clausen , Alexandru Tachici , Rob Herring , Krzysztof Kozlowski , Conor Dooley Subject: Re: [PATCH v2 1/4] dt-bindings: iio: adc: ad7192: Add properties Message-ID: <20231126161102.3906316a@jic23-huawei> In-Reply-To: References: <20231114200533.137995-1-alisa.roman@analog.com> <20231114200533.137995-2-alisa.roman@analog.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.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 (morse.vger.email [0.0.0.0]); Sun, 26 Nov 2023 08:11:24 -0800 (PST) On Tue, 14 Nov 2023 21:29:58 +0100 Krzysztof Kozlowski wrote: > On 14/11/2023 21:05, Alisa-Dariana Roman wrote: > > Document properties used for clock configuration. > > Some background here is missing - otherwise it looks like you are adding > new properties... > > > > > Signed-off-by: Alisa-Dariana Roman > > --- > > .../devicetree/bindings/iio/adc/adi,ad7192.yaml | 10 ++++++++++ > > 1 file changed, 10 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml > > index 16def2985ab4..9b59d6eea368 100644 > > --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml > > +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml > > @@ -80,6 +80,16 @@ properties: > > and when chop is disabled. > > type: boolean > > > > + adi,clock-xtal: > > + description: | > > + External crystal connected from MCLK1 to MCLK2. > > And this should be input clock. Fair enough. We've been doing this wrong for a while then, but good not to do it in new bindings. It's a bit of an oddity as arguably it's just putting an analog component in as part of an internally generated clock signal. A clock binding provides info that the crystal is present though I guess, even though if you actually connected a conventional clock there it wouldn't work. > > > + type: boolean > > + > > + adi,int-clock-output-enable: > > + description: | > > + Internal 4.92 MHz clock available on MCLK2 pin. > > + type: boolean > > This should be clock-cells and clock provider. > > Unless you are just documenting already used interface which you do not > want to break... > > > + > > bipolar: > > description: see Documentation/devicetree/bindings/iio/adc/adc.yaml > > type: boolean > > Best regards, > Krzysztof >