From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 67A62C4332F for ; Thu, 17 Nov 2022 11:56:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=vkfw3uzo78kgoClPLxhULLjnm8o5IQvWv85mj6frDrQ=; b=D8452fNJ7wXZdq5yaOu4LMK9K+ Gy1wM2MC0j9deLQE8vQNYnTmvmFnU1Sf6O6EIrFRhnbnODJHfSM4ogPQdGgKo123dq9LXeZ1F+8x6 IvvB6pJTiEcV4dfoJGEW5DtE82ibsyqpyNF0eUvgTotZUPapTAm6sEhrSlzWpyElHr10AzrRFryqz KhwWflFx4xR3lnBl3ail4UaRwX6nUXx2j0DPao7Lib2YdTEQg7juEbZDV2qNO6CBDw9wbLjJTbYUo dt3tgDLfFY8KjtNa4wzTUSPxNzWzeP9v+Jy2knIQRt/wk2U61iVrMyIKEdiezlsw/AVXzapeKElxb /b62mppg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ovdVT-00DWpi-6v; Thu, 17 Nov 2022 11:56:35 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ovdVQ-00DWoA-Og for linux-mediatek@lists.infradead.org; Thu, 17 Nov 2022 11:56:34 +0000 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ovdVM-0007R9-Ut; Thu, 17 Nov 2022 12:56:28 +0100 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1ovdVI-004qBl-J9; Thu, 17 Nov 2022 12:56:25 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1ovdVI-00HGd9-RM; Thu, 17 Nov 2022 12:56:24 +0100 Date: Thu, 17 Nov 2022 12:56:24 +0100 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Sam Shih Cc: Daniel Golle , linux-pwm@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Thierry Reding , Matthias Brugger Subject: Re: [PATCH 1/2] pwm: mediatek: Add support for MT7986 Message-ID: <20221117115624.t2kbwscxvkvffo7x@pengutronix.de> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="aq4gg466ou5l6xl3" Content-Disposition: inline In-Reply-To: X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-mediatek@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221117_035632_815910_E83D1FC7 X-CRM114-Status: GOOD ( 25.67 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org --aq4gg466ou5l6xl3 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 25, 2022 at 02:35:43PM +0800, Sam Shih wrote: > Hi Daniel: >=20 > On Fri, 2022-10-21 at 16:24 +0100, Daniel Golle wrote: > > Add support for PWM on MT7986 which has 2 PWM channels, one of them > > is > > typically used for a temperature controlled fan. > >=20 > > Signed-off-by: Daniel Golle > > --- > > drivers/pwm/pwm-mediatek.c | 7 +++++++ > > 1 file changed, 7 insertions(+) > >=20 > > diff --git a/drivers/pwm/pwm-mediatek.c b/drivers/pwm/pwm-mediatek.c > > index 6901a44dc428de..2219cba033e348 100644 > > --- a/drivers/pwm/pwm-mediatek.c > > +++ b/drivers/pwm/pwm-mediatek.c > > @@ -329,6 +329,12 @@ static const struct pwm_mediatek_of_data > > mt8365_pwm_data =3D { > > .has_ck_26m_sel =3D true, > > }; > > =20 > > +static const struct pwm_mediatek_of_data mt7986_pwm_data =3D { > > + .num_pwms =3D 2, > > + .pwm45_fixup =3D false, > > + .has_ck_26m_sel =3D true, >=20 > For MT7986 SoC, I think the value of "has_ck_26m_sel" should be 'false'= =20 The status of the discussion isn't clear to me. You didn't visibly agree which value is right now. Will there be a v2 of this patch? Or is it expected to be picked up as is. =46rom my side (i.e. not having checked the hw details just judging with the PWM hat on) the patch is fine. Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --aq4gg466ou5l6xl3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEfnIqFpAYrP8+dKQLwfwUeK3K7AkFAmN2IWUACgkQwfwUeK3K 7AkCGgf8D0n16cUNaduKAMRMUuH4hjmKpk5FX5dK1EbfYOZDiNUshNbRP0Sq6gLP KNs+9hYKqp9R54iZZq5OkcoCDBw7T5fnK/lwx6Q16p1vmOiDJWE9MjRNW2ubFf23 B7CbL2X4NGn2iZBUYhHwpiOk59l8IbR9ShI9h6nY71/kMyGhhK7C0sLhCy6LRu3f EL6LUG3x0sayHV30vX2fXqslsiJTH3bej15hl9W+DlmWAX7pBQKh/nzOaWWx1eFT rHqIAsDZ7KB5VqZipJL5mv1rfVtqdALei2WOIU1wb83W/gS7g4lhyCpEUGnfs1Nd oku3o1XXF73XMFAkszSDVOD39zYPVw== =sK3N -----END PGP SIGNATURE----- --aq4gg466ou5l6xl3--