Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp628149pxb; Thu, 14 Jan 2021 14:36:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJykKI3yhbX+Do3QytrX+x6whlG6rUGvn20mgy7X5NlrfkZ6QrW2QpHjWjsjd9el8/+B8leA X-Received: by 2002:a17:906:4756:: with SMTP id j22mr6974319ejs.353.1610663785019; Thu, 14 Jan 2021 14:36:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610663785; cv=none; d=google.com; s=arc-20160816; b=zY+SHmpu1p+46ou545Pt1zkUqcE3Tmwks+6efbv3eNUXK9u73v2P2+qd5gfNtmp3ys 6+acH9xu5SjClI/gMp7vrruUipSNkQo9M9xoB1eReCeUAVVsJeb/QxjT2PDt6DfniZPF YvUwc/MIesSjyvogoC/HY/orHMnvw14HE7oistGhM5tLAVyLU2XE2rT1VPvoVE5FrNQw qorQhtYPQnwTgJpD4DJq5KdF8JE+AX84uAlXQXZC8Xqj9GpQERXDCMzRWG6v0ySQa0lg Bm0DynOPaML20iLyLMtrVbsTLb0R+Mrk1pENYG2ojAgkhF4PCuLCIP2bYiGh8ceCOO8h YvTQ== 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=JkZcG6cPfPSix+Wgje366Gal/eoGNqdurlNjFRVPCXI=; b=sgeqlSJqwgcMUGm0bykvqLKX762QJyrwabmP+VrKWKgXh6cpVLobtQTUPyEzFzlp4P A4Wh6GE9q9GMPmTwjYiyrjEvD/8zKrgW9EH9ZTmEvOYvjPc1TrFTLi+hUOUq4jldZk4r UW5+RcZpNtnmRUeMjDwFI8vVkNLDcn0xk2OITMEH5LIrPfBLNZUXSUjjCuc4oyTy+5SB EaoSDYKPgWQ9nAxJhk2fFJ+/gzYcQh0UNRJ/qRQVtCCot1/iAoclTof5T2wmWC5YeKHQ 7WGZdzKsIO7GDX3j6e/Qjdh5DLcZ4wK2B0tUpLQk4o2JLHCshadFPmG0zst2o1dShgsa Jxsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=hi5t2o4K; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmx.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id zk17si2979435ejb.268.2021.01.14.14.35.56; Thu, 14 Jan 2021 14:36:24 -0800 (PST) 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=hi5t2o4K; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmx.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730587AbhANWeD (ORCPT + 99 others); Thu, 14 Jan 2021 17:34:03 -0500 Received: from mout.gmx.net ([212.227.17.21]:49037 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726498AbhANWeD (ORCPT ); Thu, 14 Jan 2021 17:34:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1610663503; bh=/PW0bQDf3ENMIRfvCNeNzBCuWtMlwg2PEDP2yhFy+tg=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:References:In-Reply-To; b=hi5t2o4KYhobW4KmG6dacTTgWlpORIaLpm/lQd5UB+dKQNgCwfqlFjw/NN/aduFg/ zzO2oQO4ck8iE7mQaifDTOBFm5HC8sy6DiFchOlljFz25OVR+3tPkJTouYBM+ltw0G QvJGkIZNhRs3wGL9/NjV1UxTG2PXhuqm8ohE6PQk= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from longitude ([5.146.194.208]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MNt0C-1lOKmN0VWS-00OK6E; Thu, 14 Jan 2021 23:31:43 +0100 Date: Thu, 14 Jan 2021 23:31:33 +0100 From: Jonathan =?utf-8?Q?Neusch=C3=A4fer?= To: Andreas Kemnade Cc: Jonathan =?utf-8?Q?Neusch=C3=A4fer?= , linux-kernel@vger.kernel.org, Lee Jones , Rob Herring , 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@vger.kernel.org, linux-rtc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Heiko Stuebner , Josua Mayer , Arnd Bergmann , Daniel Palmer , Andy Shevchenko Subject: Re: [PATCH v7 4/7] pwm: ntxec: Add driver for PWM function in Netronix EC Message-ID: References: <20210109180220.121511-1-j.neuschaefer@gmx.net> <20210109180220.121511-5-j.neuschaefer@gmx.net> <20210112203902.4e196d11@aktux> <20210113234645.52fcf73c@aktux> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="HDuVcb6jseGv59n6" Content-Disposition: inline In-Reply-To: <20210113234645.52fcf73c@aktux> X-Provags-ID: V03:K1:9XjKrmV/1AFahXgaUITwWleebD3JkCgxOwFo/LhmBY4OVONqQHZ uYT0J0ulcHTVOriPK3GY+jx3rfu5Nnh6lFe25hEFFdWEckiuKw6+E/YS9TVmIg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6g== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --HDuVcb6jseGv59n6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 13, 2021 at 11:46:45PM +0100, Andreas Kemnade wrote: > On Tue, 12 Jan 2021 20:39:02 +0100 > Andreas Kemnade wrote: >=20 > [...] > > > +static int ntxec_pwm_probe(struct platform_device *pdev) [...] > > Hmm, I needed > > chip->dev =3D &pdev->dev.parent to use the backlight example > > in patch 2/7. > > Not sure what the correct solution is. Maybe the pwm deserves its own > > devicetree node. > >=20 > probably just assigning the node from the parent. >=20 > pdev->dev.of_node =3D pdev->dev.parent->of_node; Ah, good catch, thanks. This works, I'll add it to the next version. Jonathan --HDuVcb6jseGv59n6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEvHAHGBBjQPVy+qvDCDBEmo7zX9sFAmAAxj0ACgkQCDBEmo7z X9tuAQ/+I/fgq/4KiZ/hxst2Kdd7r5iiqyVHUXajGHBX1h6S/divbTF05YEipq5z 5PSrq+RBEc6dBbNk7F5GTzE05MtmMAFk7l5fB+pA3U0zF6C8+CfAyoA47UdCFuPp LtHhKT1GKs1DcfK9E/k05UJMscXCEj5+gDhDf3a5yQ4our++LEcwepUBHf3Tb3Yo QI7e0wRMTYDkmo/98Krrmei96oWav/Zu0HBy6U9WlEWdKz7mNF7CbrWNMdLoj56i NaOaJgRUGIAEd6v2PDmG1zLUOnyRPd9yFVGP/acj1t9bwQx2soxB0gdV03/n81rI /0A+xXvMNwPfK43G7s7pkVmqr6/9U4F9EIW43hX3HNDPfm+WRPBbxeddhsT9RAtM MJuluSgEaSRT5vSfK74ZUnpbEGvrfAxPqkuG5Z5ssS2DC57R5njD+fNbfimovzXz IOJjax1NzXMQ9DM5hb6JQQfR/Q0TumCmTw+gGAYWa39ywv/du2aiAmg/5ZgCILjG zZL3L85WiGJT3roV2FoFUDwLuAm8bwfGR7l2c/gwO8/qWqXbNjnibVEUJTZ5OOEP ha7AKdyDYsEiRbcS79xKeU2GBNheMmKZDif66X/0DYbU7aSyGjE/c5z1EZFQr7Ao WAOgoHbr1BE599wWNAbrHKCm9QN9dPZJDYKQc+WJw7EZuwMQ5Gc= =Fe0t -----END PGP SIGNATURE----- --HDuVcb6jseGv59n6--