Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp1102334lqo; Fri, 17 May 2024 10:39:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUsxHTqtfjyz/J42le7526vjnYktm7xbadpeKuF/A3sGYSvz/afhSeuuKybvaTpUqs4ofwCEH4/zFAzRHgn25uz2zmH3y3bYkJdT7s67A== X-Google-Smtp-Source: AGHT+IFSKJKnoIZLUmeZFJ/wI7PoUf44+GsVh91m3oOdowAlzTNb1y1FWVwczj4oI1+l+MXhc38t X-Received: by 2002:a05:620a:46a0:b0:791:58f6:6be1 with SMTP id af79cd13be357-792c6c59d25mr4334598785a.19.1715967575619; Fri, 17 May 2024 10:39:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715967575; cv=pass; d=google.com; s=arc-20160816; b=O4/tT89kaIheJOhdA12E2VdZC3yZbVjUw5NZcaUXiY5Z6EMIZSe4/5QqoGbOvyOPcN rNOZ0PFJTG4bsylteAcf1zHATyCteSKKriWvEO2D2uTeggc4e+IxU9fop3Htox2FMymD FetaTyN7EWadSU0wF8bBwsivJ/tVE//h1O5X4ccAULzwZTsCTV8Pf9RIYE6Jz3ypFZmR 8IRWTpJkhkiFTZl8ugsX+OZmBo7Ug6JbMSL1zoqGel0YsGcmyIc52t2R4oVeXYldTCbz zJp2WsOWBchYXVyI9L3VXFgVa+RTmXf2/aTtfxuORSAnE7HbRS6PtrAxq53e96bMDpXq KclQ== 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=3jPUzRoBzCwIiqib6C0ujA7BWIA+tdw9b6eH0vuuiWQ=; fh=2735rRFQA87xELXP+K5XZrzvxN8jWJA/7QtUn6LgSlI=; b=lDa4Z6ddImppjioAP8lh/jf1PIffPIlPeY1YwM8jhnYNTG1dE7G6gRIORbeU3TUqiD bTmSr9f7hxYNoAtW5TqQ2AxphuJNNpe8IND/r7J+1VmM+Pdn40w3w4GDc5hdVrSz/K3C mduCPM9ARSpPXltXSg0aYIs0bszFPPv3XmiYLco6GoW6znQBbsRHAIkfnNT8o0R3Zrjk wB41HKvTfPVT9dwaQ0mNWpoTpK4wn/SqOu45BHUUMTXqlbNekEwit+dPo6quOSzmkSd4 MlX3Kk2LEsutEN5ScmMRp4Yz6m3eJ8H+vdKK9SRkSuo7P76tjNVX7rBX63rOt+s7yEkm DgTQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qgKkClbJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-182432-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182432-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. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-792bf30abefsi1922641685a.374.2024.05.17.10.39.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 10:39:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-182432-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qgKkClbJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-182432-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182432-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 218851C21724 for ; Fri, 17 May 2024 17:39:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 61DA413DDB8; Fri, 17 May 2024 17:39:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qgKkClbJ" 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 7BFA513DDBA; Fri, 17 May 2024 17:39:21 +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=1715967561; cv=none; b=oreC4Lh5U28y1CCugDjwRAVx2yQedye3dA3fQalD5NT6CPgXWPCTA5jLybhQBi6ayzMq4snzWLTsL/AFvaCyARSqvHCazyYAsrlwWrCOtEC8zwG5lapIHsXVh+wM80BB/DiiOdvmzVWdD79DauBd1xEaELujDQz9ZIpb9PBTxns= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715967561; c=relaxed/simple; bh=tQOjsUD1QNNPdmrsBIqeqqeA294m5b+0eJ2vo742SP0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=U9xqvbC5EBpD8xzDoavmZ9EPTdEkQ3O+t0Tcpeo5oicDBU8ot5kEnPF8tzfg99ikBwqD7U8pQIbqFMZBD6Tk0EyT0MEFocQKew3H/45PRYm3Qs0A5MohX3G1gGnwGW4SjcgD2LwouvZluSoAHo7yMUQwAXsaqmdT/GRBstIN+1k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=qgKkClbJ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DFD9DC2BD10; Fri, 17 May 2024 17:39:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715967560; bh=tQOjsUD1QNNPdmrsBIqeqqeA294m5b+0eJ2vo742SP0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qgKkClbJGWKrWh9OKsOPKK3kboH6boQ1WyzS99x6s6Ag1ExaUi5cTlR1KsA/SJRX7 RkQgHw7E5mxTui9FG/Q3Air3GRYzVuAl29hahZXYsFfI0mczO++A2577yDqZp+HTv2 qwGaPLfTJKijYjZpbNzZDykfJS0e/ZgwX/3tvDbIBPC/W6tTRd/b1lwdMVb7/FgIGx tL5AMkdOCVgatLR1QIl3EAe4BuV/XypFXfPVKRP5fFt/xd+yRWyU1iggVdLZ2oI8nY EMeOKBkIodjzVvhD4Lmqp+HqpI/Mj8yACd63tppRo5aFiMqhon7uSWu4biZviK1LE1 KItkRwvJXMqeQ== Date: Fri, 17 May 2024 18:39:16 +0100 From: Conor Dooley To: Chris Packham Cc: Guenter Roeck , Krzysztof Kozlowski , "jdelvare@suse.com" , "robh@kernel.org" , "krzk+dt@kernel.org" , "conor+dt@kernel.org" , "linux-hwmon@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2 1/2] dt-bindings: hwmon: Document adt7475 PWM initial duty cycle Message-ID: <20240517-recognize-broaden-43ba03c9f78c@spud> References: <20240508215504.300580-1-chris.packham@alliedtelesis.co.nz> <20240508215504.300580-2-chris.packham@alliedtelesis.co.nz> <94c843e2-4415-4786-bfd4-a77fdbbfab07@roeck-us.net> <35361786-ef5f-4d81-83e8-e347f47c83ed@alliedtelesis.co.nz> <58fb36f5-4d4b-495b-a7cd-6129ab1ed454@alliedtelesis.co.nz> <20240517-pointer-cloning-3889f3d6f744@spud> <20240517-pellet-visa-a2d469dc5f34@spud> 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="fU8lYHpRVmPB+Kfl" Content-Disposition: inline In-Reply-To: <20240517-pellet-visa-a2d469dc5f34@spud> --fU8lYHpRVmPB+Kfl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 17, 2024 at 06:02:33PM +0100, Conor Dooley wrote: > On Fri, May 17, 2024 at 06:00:06PM +0100, Conor Dooley wrote: > > > On that point. How would I explain in the bindings that cell 2 is the= =20 > > > duty cycle, cell 3 is the frequency and cell 4 is the flags? > >=20 > > In the pwm-cells property in the pwm provider binding . You might want = to > > order it as as usually that's the ordering done > > in most (all?) pwm provider bindings that I have seen. > > The pwm bindings I think are really unhelpful though - they all say "see > > pwm.yaml for info on the cells in #pwm-cells, but then pwm.yaml has no > > information. The information is actually in pwm.text, but the binding > > conversion did s/pwm.text/pwm.yaml/ in pwm controller bindings. > > I'll send a patch that fixes up pwm.yaml. >=20 > Possibly cell 4 should be standardised as the period for all pwm > providers and then all you'd have to do for your provider is set > #pwm-cells: > minItems: 4 `const: 4`, d'oh. --fU8lYHpRVmPB+Kfl Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZkeWRAAKCRB4tDGHoIJi 0s0VAQDSqIpwkV+XgvuoKwnRFDEwmwN4obNBWez9Gf8X0VfxpQD/cNJjz8iKe1Cx EBjxNXyPjLRZyHdRPUETZZRnFhkObg4= =GLZn -----END PGP SIGNATURE----- --fU8lYHpRVmPB+Kfl--