Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp14973458rwb; Mon, 28 Nov 2022 06:48:49 -0800 (PST) X-Google-Smtp-Source: AA0mqf4xPW4x+/10AxZlPlXdhQvFlESs+HIH3QGp/ko6sdCnueQYvgESeg/Cpi+UaIaOAS8UlegZ X-Received: by 2002:a17:903:2014:b0:189:81dd:6b97 with SMTP id s20-20020a170903201400b0018981dd6b97mr7696202pla.173.1669646928984; Mon, 28 Nov 2022 06:48:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669646928; cv=none; d=google.com; s=arc-20160816; b=OFtYhHwY8oZD1VS4ZRv+v36AqGqz9nYQgLOsgb3fksNmDL2GK4LXWwNpHr0b3KB4wt 7T5DRzTUOkXp8CuEahQsOkxzaCw+ZnKhf6GUC3IHSzVS7nYf5ggk20JV3TUhZfMyJMKp 2FoE+63zbISKh1aXtjVLUSk+ILiU3lUjAINXemesaRaV6mBD786Vi4kWjpj09NBovAVi c0t3hU6yRmKmoHbv/p9P13ZPRJd0dUTWR+NgKSGSFpWxnn+HwiO5mQVnKHzxrTI8LLC6 xqdSboJeiTAnk1ZZLCBh92X8K3zq6ja9KBDmMhF65+dttbAf4M8hrfWMVtShyfWZAprE zvzg== 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=K1qFYADi2QqfDyRQoEmc7aafijiuYWZNCZfIoL3jZBE=; b=zRFok3F93dWmQzQ0lZb0Ncpd7jsh0HOYHDwdZm3d7dquYnEyz6dxjL9hu8zkE7J92v aCx5CfotV4IxgsB+OhjShy+PNxNn0rPPSDZidHAPKQqYJWujQ5TMuiI2fccL2tXxwb9j nxdssJFHR8npc4gQPYvthcwP3YO7UZ4b4zVfQ3Fs5v15HSOUDTeXeXDWkcFL0iIY275P 0w0qez5Nz+IdlBLXeeV2AntElZwRd8paZUXlhuoqJwXvEO0vfDWSaCjyPVSV8fVQStVw vK2A3+vFtJKLJt6meSHGqoiLmt2Nnp/bAXy8A0mh3lPyNLsbbnfmzaFo5AVi6hNnAhTQ bGSQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h13-20020a056a001a4d00b005726ac2f6b3si12901882pfv.159.2022.11.28.06.48.36; Mon, 28 Nov 2022 06:48:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232602AbiK1OmH (ORCPT + 84 others); Mon, 28 Nov 2022 09:42:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232606AbiK1Olp (ORCPT ); Mon, 28 Nov 2022 09:41:45 -0500 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 F0D741D321 for ; Mon, 28 Nov 2022 06:41:43 -0800 (PST) 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 1ozfKF-0006du-3k; Mon, 28 Nov 2022 15:41:39 +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 1ozfKD-000qTJ-LY; Mon, 28 Nov 2022 15:41:38 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1ozfKD-000xkl-Bb; Mon, 28 Nov 2022 15:41:37 +0100 Date: Mon, 28 Nov 2022 15:41:37 +0100 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Paul Cercueil Cc: Thierry Reding , od@opendingux.net, linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org Subject: Re: [PATCH 3/5] pwm: jz4740: Force dependency on Device Tree Message-ID: <20221128144137.aavwwb3oxz5hw4ae@pengutronix.de> References: <20221024205213.327001-1-paul@crapouillou.net> <20221024205213.327001-4-paul@crapouillou.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="mgihohoq2ffxir4a" Content-Disposition: inline In-Reply-To: <20221024205213.327001-4-paul@crapouillou.net> 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 X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --mgihohoq2ffxir4a Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 24, 2022 at 09:52:11PM +0100, Paul Cercueil wrote: > Ingenic SoCs all require CONFIG_OF, so there is no case where we want to > use this driver without CONFIG_OF. >=20 > Signed-off-by: Paul Cercueil > --- > drivers/pwm/Kconfig | 2 +- > drivers/pwm/pwm-jz4740.c | 10 ++++------ > 2 files changed, 5 insertions(+), 7 deletions(-) >=20 > diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig > index 60d13a949bc5..1fe420a45f91 100644 > --- a/drivers/pwm/Kconfig > +++ b/drivers/pwm/Kconfig > @@ -283,7 +283,7 @@ config PWM_IQS620A > config PWM_JZ4740 > tristate "Ingenic JZ47xx PWM support" > depends on MIPS || COMPILE_TEST > - depends on COMMON_CLK > + depends on COMMON_CLK && OF I think you don't even need to enforce OF here. For the compile-test case having OF=3Dn should work fine. Anyhow: Acked-by: Uwe Kleine-K=F6nig Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --mgihohoq2ffxir4a Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEfnIqFpAYrP8+dKQLwfwUeK3K7AkFAmOEyJ4ACgkQwfwUeK3K 7AlxPwf9Gz4JXf2XTZRSbBnXuGgyQt+OyfBEMbRTI/dWN6wERc/buzwXNno15Ue+ wxpdN6FcKgZaAyxJHVm+lLQkzGiVoU79BgZKiwtUjl9k4iPNqzhnd55k3e65JEy9 NMDRIzIEjmfJ1A9mTYRcnRMT5EnQvg/UCIAqBRENb6tskL5Bk8YdC2jQld1B7Se4 DZ1hBSK5Jg5ij7vjDH2Z8mCuMfejS98pTfr9yfMwQKrezKx1JONK/D727v+wBNWW fdYFdHyOShfcVQNiBiDyGoYDP0aAZmTBlMMwDZEsgH8ELX39QIqdjNONBTJ6Sv+H lt/skHCvuJW8lZnqYW9wLtjkt1id8w== =j7d3 -----END PGP SIGNATURE----- --mgihohoq2ffxir4a--