From patchwork Mon Mar 18 16:09:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13595558 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 44BFFC54E5D for ; Mon, 18 Mar 2024 16:28:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=fVuuYtYkHhkimOj25VcdWPy78hqvem5tcfG09z2C9lU=; b=uy5a3lOmJ+x/On KwEYmjKvY7m2SrwKxp9+A3AHDZs3UFmhdsuqqe9Wq2GXJ7IQboi5Y5I6ZKr2NOQtuOWVPJFSyDiSV L8eJS4TpEI+4jT6Yy2ts6hHBTc3dsM9TQbf2ZCrA0bi7p0TH42qVh1hREHvHBGa3LvAhE/J7sARF6 YuSL0swihkPNrf77VJ7yq3twY5KzGblNUh+F3XOaezohFSALrQAsXtUpn+hMFPDr0f4xgt0aGIkKE jHn/Jap7CHosus5x64FNHDwWJn6sXe7u1U7oKv49uDaNMYgKoPC3ZqhZiYvn2HigMhCZRH9pjF0tg ZLkV5XSSeTvLKvgf4wlg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rmFqU-00000009Emv-0lx9; Mon, 18 Mar 2024 16:28:18 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rmFqP-00000009EkF-3Yt8 for linux-arm-kernel@lists.infradead.org; Mon, 18 Mar 2024 16:28:16 +0000 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rmFqA-0007vL-3z; Mon, 18 Mar 2024 17:27:58 +0100 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rmFq6-00771H-UX; Mon, 18 Mar 2024 17:27:54 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rmFq6-0084a7-2h; Mon, 18 Mar 2024 17:27:54 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Jean Delvare , Guenter Roeck , Joel Stanley Cc: Andrew Jeffery , linux-hwmon@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-pwm@vger.kernel.org, kernel@pengutronix.de Subject: [PATCH 0/2] hwmon: (aspeed-g6-pwm-tacho): Prepare for further pwm core changes Date: Mon, 18 Mar 2024 17:09:48 +0100 Message-ID: X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1331; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=s9JicVFj4pJmGVVQ4r+P90evKiT5bMKtXEpV6/oPFI8=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBl+GdNy9W4Yul+TxF6AO3lEUVPIz9Vovisop+ib w/mSgiPXhOJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZfhnTQAKCRCPgPtYfRL+ To38B/9RPIoE7KfD1gvs8Lx052TFmKt/pZgu8+BvKF+vNlAkstLnm5l4Lag4Mv16X0ryqsCfYrQ bioPj+vf4b/GKri5eDBDT1jGALIpcWPYMPHmo7fVWSe8NS9YjhuvnUaTf02eTX6u6cZ2mJKM2rB LeP/6I5/qjMX+gA6Av8s5jiW7Gu9rjuD6YwqoDmdfZ2c7tQZVYPVywnHVM7miZJkxOSJ+MzmNDu q3dE0nzCoGsUrFf019MrXUulcprnnCQQXmzkolUXG5qU4WqHSF+n9A9SVXc8RHfkYcSsWkqf3Ed qODGN2RWmNoK6gpz1Y/c7M4EV4m54agLGpZLz32r0GyD+tJk X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240318_092814_147740_4E5634A1 X-CRM114-Status: UNSURE ( 9.29 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello, there is a pending rework for the pwm framework[1] that requires a preparatory change for all pwm drivers. When creating them I wasn't aware of the aspeed-g6-pwm-tacho driver, just found this now while doing build tests with my series. To not delay application of my series, I'd like to take the two patches from this series via my pwm tree. To state the (maybe) obvious: This series depends on the following commits: 7e1449cd15d1 "hwmon: (aspeed-g6-pwm-tacho): Support for ASPEED g6 PWM/Fan tach" 024913dbf99f pwm: Provide pwmchip_alloc() function and a devm variant of it 4e59267c7a20 pwm: Provide an inline function to get the parent device of a given chip The earliest commit containing all those is: 15223fdbdf4f "Merge tag 'hwmon-for-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging" Best regards Uwe [1] https://lore.kernel.org/linux-pwm/cover.1710670958.git.u.kleine-koenig@pengutronix.de Uwe Kleine-König (2): hwmon: (aspeed-g6-pwm-tacho): Make use of pwmchip_parent() accessor hwmon: (aspeed-g6-pwm-tacho): Make use of devm_pwmchip_alloc() function drivers/hwmon/aspeed-g6-pwm-tach.c | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) base-commit: f6cef5f8c37f58a3bc95b3754c3ae98e086631ca