Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp358470pxk; Thu, 17 Sep 2020 05:10:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyzNzqHMmPG6x8nAlv0eyWd96YJ7lLUUyWy49m4tmpVNMquJBfDj7gWXXuSx+67bv5VKPlC X-Received: by 2002:a17:906:bcfc:: with SMTP id op28mr24726718ejb.248.1600344643508; Thu, 17 Sep 2020 05:10:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600344643; cv=none; d=google.com; s=arc-20160816; b=knkv+yjxZqhZWnfHWLo4mHkMxt2Sq8hDBjzHsG9jUS6cGVLg4B/IRhZrcEPdsgHfdN wRQLV0eeykHLdmXkeEN4abFf0VKwnV9S/9i3Q5XUQ03rurKM1qRFcrZdbYHbD/pI04oj w9yeVr+bOqcYt5HD8wwgzrds/CKpQLav6nRK4hRFMG0x4wwHPy65Hlxwa3zSGDHEtRA9 1HKaG/zb7/RbzD8nNISIbfNw41x0JoSVhB153rWfGJVjCZo+89qs1mvd++EljddNi1Z/ 2KO3kLWuhwKAKxlxoM+vKw/9Im3CB+TFbjUs/JgLGw+Z7Om6uIMQMuYk2dqOzpyLikfU 1krg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=24JQ5sxy5SnOel0/HBCrFVsyOI5NmS1/SQy2+UMuASk=; b=jIkWyGH7Fd5dLCBl/jkE86FKcso4gSSNf56Ich+fpzfoV/mq+FEI1b0nFNFfVB9owK 1xoR/B5/gfxgAUg/P4RjO9k3Sh9wK91jqGIfp7mHNKpFgDni6O6kpnCfxWQixylFcO10 18mwq0+KpNnH8vlL+m1O1Owc0KMyRM1M6Ox+cIKia4EcucMzxUcCOGKxBS8kUq58wMmQ 1j3G+B0JAmpaFTeUfS47vEC8K9/5em8J74Z+DbZuPSSLW5478RJKW6aAKRK8mY71MaQU crYK2GYL60N0tyHMIlQxHRRClTMDKeBL3ymmeSCip07zZA1YCPyIJOjBocOeJcOf4OjU o1Jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=Tsn7Ag+J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x21si14150348ejb.137.2020.09.17.05.10.20; Thu, 17 Sep 2020 05:10:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=Tsn7Ag+J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726793AbgIQMI6 (ORCPT + 99 others); Thu, 17 Sep 2020 08:08:58 -0400 Received: from mout.gmx.net ([212.227.17.22]:42977 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726605AbgIQMIY (ORCPT ); Thu, 17 Sep 2020 08:08:24 -0400 X-Greylist: delayed 428 seconds by postgrey-1.27 at vger.kernel.org; Thu, 17 Sep 2020 08:07:32 EDT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1600344418; bh=24JQ5sxy5SnOel0/HBCrFVsyOI5NmS1/SQy2+UMuASk=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:References:In-Reply-To; b=Tsn7Ag+JDQLQHP3Yw0GyVvjd2Ak07hzc2HG9ouWHP4pe6O3MkIJgyAfjj+vt+4jkH Rj5wCv651IyssEkildCv6XRtEgCcnkhxMgEYrVMTBsV1Bsb+22G+I6c77GTQfikN1v YY+g81M2IDdyRwIP0Lr56Ynx+++NGrrUszsb4M5E= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from longitude ([5.146.195.151]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MHoRK-1kF4f53zks-00EveU; Thu, 17 Sep 2020 13:58:54 +0200 Date: Thu, 17 Sep 2020 13:58:48 +0200 From: Jonathan =?utf-8?Q?Neusch=C3=A4fer?= To: Rob Herring Cc: Andreas Kemnade , Jonathan =?utf-8?Q?Neusch=C3=A4fer?= , "linux-kernel@vger.kernel.org" , Lee Jones , Thierry Reding , Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= , Alessandro Zummo , Alexandre Belloni , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Sam Ravnborg , Linus Walleij , Heiko Stuebner , Stephan Gerhold , Lubomir Rintel , Mark Brown , allen , Mauro Carvalho Chehab , "David S. Miller" , devicetree@vger.kernel.org, Linux PWM List , "open list:REAL TIME CLOCK (RTC) SUBSYSTEM" , linux-arm-kernel , Heiko Stuebner , Josua Mayer , Arnd Bergmann , Daniel Palmer Subject: Re: [PATCH v2 04/10] dt-bindings: pwm: Add bindings for PWM function in Netronix EC Message-ID: <20200917115848.GH3306@latitude> References: <20200905133230.1014581-1-j.neuschaefer@gmx.net> <20200905133230.1014581-5-j.neuschaefer@gmx.net> <20200915005443.GA604385@bogus> <20200915082348.2f6fff7a@aktux> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="y9PDtDHaFrXNoMPU" Content-Disposition: inline In-Reply-To: X-Provags-ID: V03:K1:S3H4EVtrAYZRUhJu6GbZc4OedPCD0Db2PTcKwit2EczWfGIux+C fTnPE7kzejg+V1Ln6NYce3Qz27+0vjAlwAKzArlfdi+JOqUrdrGoHbM60fLIEEnAsSIuc7G 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rWOV9jB9A+nswjPQuoqI5KnDbBAChoYeqgu 5OvDFo8pLOLVEkWqSXPSLzmCl34/mLkmTCpGCXnvJqNBFBUOSe//eySqUb1GKeO+kzYoUamO2 IfUDzITGZnXjqnZh5Gg3tXh080Rd4noyEOQlkHxNvhEviq5HjHKy5/L+npJ+iQUoORdf212CB ubocYvOrvN6dlsEGDdW0IgqFDDa+6klXpr+SJobRvUceAQG80j58f12Aimpqy5h0isf3kQiHg WYv8uI3ta1Pse8UxtLcLUu4a7Zwru4YhrWM3BxCI45z/n23SE8KRzxyab0m3u4OzcIjuhY+mD nbwgcPGl8dyisQqePhkvJjBmo5ybYwKHc5AGg8g== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --y9PDtDHaFrXNoMPU Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 15, 2020 at 08:31:55AM -0600, Rob Herring wrote: > On Tue, Sep 15, 2020 at 12:24 AM Andreas Kemnade w= rote: > > On Mon, 14 Sep 2020 18:54:43 -0600 Rob Herring wrote: [...] > > > Just move this to the parent and make the parent a pwm provider. Ther= e's > > > no need for child nodes for this or the rtc. > > > > > hmm, there are apparently devices without rtc. If there is a child node > > for the rtc, the corresponding devicetrees could disable rtc by not > > having that node. > > But maybe using the controller version is also feasible for that task. >=20 > If not probeable, then the compatible string should distinguish that. Okay. It's even simpler in some cases: The firmware version reported by the EC should tell us if it's one that is known to have no RTC. That said, I don't have a good overview of the different variants of this device. Thanks, Jonathan Neusch=C3=A4fer --y9PDtDHaFrXNoMPU Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEvHAHGBBjQPVy+qvDCDBEmo7zX9sFAl9jT3EACgkQCDBEmo7z X9vUoxAAkyn46+EvI774tTF2xzkOECPy08b3dfWCKmdc1jT0+XgT9cP5TeB1mEE0 tX+cVVE9+yTFYno3cT8NwFY134Qzusin/+xBWUP07weUIt+ov6X3mFWjAV20ye9+ 8+UcnwaLEXDXCbrt5hG+eexwlXVQuxjiHdjIdiRL7FyRfbedLGG9q2LQWUWom3Sm Y3jGhzeEt60nIZTZ5iFcPT8P87tpT65YArmuO11ryUEoodzgO2mYsGR1ovZcN8vN DvEvDWuWxnPwNY5AAsFCyF2vzgif9aWwixCKskED8L33IC6HscmusmaEQNF1XpRk /khi5dhGqpsuSP9BkMC9HTPwVxmKZBX7BM7MpQYvQiAQCgKbqUPXiRYdHRNjCPCl OQg0/7FBlq7hVeZQeM92eEqiHaxtq7MjLpctM19vBwMlkJ4bX82qzsC/E7RtRyNu Il9eY7xG61gcyCLV0na7C+Cnwfva6u951d2pUI8N4KH/GsEbDY7FZiD07qBKv1Ur BAbDSOGryF/aRL/AJ1FyZrm9VxSSxoEkHeeTsuEn7OhhrRff4FCb/jfLZLnMv3KK tDCic9mPL1nsiOHU32qmzYkfpQRpVEBCN2/SwDNtqfl82TLA+6bLtPnWsXcCWWdi BTWzBgu+dvJa46LUBFKjRVliAHA/t9hyD7Vd0pZXt21rAoDXSmM= =YAep -----END PGP SIGNATURE----- --y9PDtDHaFrXNoMPU--