Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp60305pxb; Mon, 25 Oct 2021 03:56:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxOFWppadX8UBxj8DaQgooRQU3TKlRG5wNZtsrGwKgvwD1VYbnbttEpQeLlt2wqEd032hZ X-Received: by 2002:a17:906:80d4:: with SMTP id a20mr21302854ejx.386.1635159386919; Mon, 25 Oct 2021 03:56:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635159386; cv=none; d=google.com; s=arc-20160816; b=Y8pJmr+0Vipc+8a+OfiM7zszrRDFKzn8YuWn0WJC1ObHw6ZkVzvl8P26keo/qb3wQF EcDnR0NFAVSCui1dYqdFR9ZjzmxeeJV6PlXUX4BzWZs9hT0owddgcTXlbhn4ravQ73vs bVekgX9tSNeXkqA9ZmBDwC1IuQMW1fQDdVEEmXvgO1gHhKOurwbOZrHPAiU943UA2EhD lgi9fy71/YIEn0uWsN32BhWVdvbfNXV4hNBLTq9iBNn3czIt0KdekPUvjPdijZ60g6wc 8A3WmUsjD+454rd9uVcYkEmdxDm+ndZwiN+Vf7v/pRg97G8MCswRE96i23JWD7pCe8MR +3bQ== 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; bh=aaNO5G0q6yaJF9NwHUW5lxbf7brUu0ZpEYN5VKMndLY=; b=z6puEcDFKYGBXMhdCOQbGKSq7WAGHRmXST07qaTHo8PeiNa1cHMdoHtMG1s2PCzjyi rW1wI0kZsR68yolVJbSNZrs2xUCv5fuUg0mtBlhPsdV62YGOPUNK8vV1MeOqlWsGxQfD T+fVUj0yI+Z/kLq0hql5YjRs0OXl1nbpu1qiimWa/1HjZJhWAVDRNs5x1KcaXDvmO1rz 3ziaZdcQbrBZC9NfjSHfpR2jDTByYg2Nw/F3DYsxS6Z110aJ1SLPfcBVeRd7zvuVpvGj 8VgWc1juxZ8MGU87sJbVBZdiwJzrIPySZJcAA1gt5qb+8l+Nh/khIYpg/o617i3Zx/8c 4uCw== ARC-Authentication-Results: i=1; mx.google.com; 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 fj2si1289429ejc.153.2021.10.25.03.55.58; Mon, 25 Oct 2021 03:56:26 -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; 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 S232342AbhJYJAz (ORCPT + 99 others); Mon, 25 Oct 2021 05:00:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232168AbhJYJAx (ORCPT ); Mon, 25 Oct 2021 05:00:53 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70EA2C061745 for ; Mon, 25 Oct 2021 01:58:31 -0700 (PDT) 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 1mevoA-0002sk-Ad; Mon, 25 Oct 2021 10:58:18 +0200 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mevo7-00029q-84; Mon, 25 Oct 2021 10:58:15 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1mevo7-0007eQ-6e; Mon, 25 Oct 2021 10:58:15 +0200 Date: Mon, 25 Oct 2021 10:58:15 +0200 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Bjorn Andersson Cc: Thierry Reding , Lee Jones , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-pwm@vger.kernel.org, linux-arm-msm@vger.kernel.org, Doug Anderson Subject: Re: [PATCH v6 1/3] pwm: Introduce single-PWM of_xlate function Message-ID: <20211025085815.wrvifi3kmviw7jpw@pengutronix.de> References: <20210930030557.1426-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="muvk4bp3iyxkfh5l" Content-Disposition: inline In-Reply-To: <20210930030557.1426-1-bjorn.andersson@linaro.org> 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-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --muvk4bp3iyxkfh5l Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 29, 2021 at 10:05:55PM -0500, Bjorn Andersson wrote: > The existing pxa driver and the upcoming addition of PWM support in the > TI sn565dsi86 DSI/eDP bridge driver both has a single PWM channel and > thereby a need for a of_xlate function with the period as its single > argument. >=20 > Introduce a common helper function in the core that can be used as > of_xlate by such drivers and migrate the pxa driver to use this. >=20 > Signed-off-by: Bjorn Andersson I'm OK with this patch, in the long run I'd like to share more code with of_pwm_xlate_with_flags, but this shouldn't be a stopper here. Acked-by: Uwe Kleine-K=F6nig Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --muvk4bp3iyxkfh5l Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEfnIqFpAYrP8+dKQLwfwUeK3K7AkFAmF2caQACgkQwfwUeK3K 7Alt7Af/a8nhxh/xMENHkzBDVn57d2C7qsBdAEnOKYmtoLJheJpFRCDPP1lNm54d 6qlewUjuQAAwqO93kCcufhzwIHrgl73SVvr4iqgw8P8fmwM/xrkovALRkeL771xD veid1BSxIOJtJDjbYNf0rEBSXMkhN4I5LUDahJzezG1be5ULwexNiBpibDnPnR2L jseYVX2ipv6L4FVf2TceJAP5TuLRRVCGzRGxAfKvIG3WA71Z+EhsjurvKEbKvBSi qW68/MIFahttoB5VF3PQZ8mYUF+lbOOnnO4uT+i+fLF4unm9rLu+6pmnp69V95QV Sd1y58/frTRWk7Vo38MBuwav2HXo3g== =BOeX -----END PGP SIGNATURE----- --muvk4bp3iyxkfh5l--