Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp6079612rwb; Wed, 18 Jan 2023 00:28:12 -0800 (PST) X-Google-Smtp-Source: AMrXdXtCzvr1nPmUSD3RRz3k4EWefgH+Ia45LBXpnKR8LuqtF6GBMpu7R1wUqELVARXR10lrpMae X-Received: by 2002:a17:907:6746:b0:84d:1c67:97d7 with SMTP id qm6-20020a170907674600b0084d1c6797d7mr6600289ejc.30.1674030492079; Wed, 18 Jan 2023 00:28:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674030492; cv=none; d=google.com; s=arc-20160816; b=PF/fOGapVyGO7u+bX5khBMlyKvPjUpIVngOrdEydr0NbM4HbJFRif7Wx7ADDaWbCp/ A8wfjierLlfjPDQOSekcngQQoP2Cje1Cr2hW7Gw2i1snz1dLbvN+u7senBAlG9vpHfbb f90PYNjV8AC6OaiKyqYkmquifi240CGZm2vaZRIYNYRKyoq4JQGrTZQqpLEb1DEvUMWD w36dh6TkRCoAPhu3mnFqXuNHm6SraKOP/Jgo5r5+1lt3DPP8oHrKWLZ9HIGFCexIx8fE 1DaMt8Tr9RRtOZy5y1Bn6zngwKQzrXIoe4AHmShVO+XU3ltb1sXLF5z8MtjJHBQ31+Wy aTlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:ui-outboundreport:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=WkCm+kE7Sj698Z+OTv7qpNNJKWluBQQb3qEy79tXDTw=; b=FJDYgSo3x72eqDQCiYvGyZQoKtmzY08mcOxbFOELLP7w/+UxAfeRSjEt/DPP0VlPQ+ oXxRXk8aQl46UZ4cQNXbe9chS1JNBxMv1xmJV6WLoHORhEjUmd/u214UrhKndeaDKcCR 7YB0hZ5oPOBFJ1zWpAhkQdSyxIFJvYolNusVQlUi8FAWVdm7yem4JcIw9D9uhjbM+DFL zN9ZtKpq0p0njGX5ipWtsiYPz1LsEAgx30I1q2vp5lBiRRLUJJvsuLmm5IuoBYXLliZc XxQ3opW42W4JqYgpJa3BMkc9/8KLt2H0/pe7NYtzRfK2iAHG6y0N59dPcs9QvEAdR5Z2 s9pw== 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 s11-20020a056402520b00b0048d42f6970bsi14039107edd.252.2023.01.18.00.28.00; Wed, 18 Jan 2023 00:28:12 -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 S229704AbjARH7P (ORCPT + 46 others); Wed, 18 Jan 2023 02:59:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229639AbjARHxa (ORCPT ); Wed, 18 Jan 2023 02:53:30 -0500 Received: from mout.perfora.net (mout.perfora.net [74.208.4.196]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 492DA38B49; Tue, 17 Jan 2023 23:28:22 -0800 (PST) Received: from toolbox.int.toradex.com ([213.55.225.137]) by mrelay.perfora.net (mreueus002 [74.208.5.2]) with ESMTPSA (Nemesis) id 0MStu7-1p7y8h4BYT-00Rrds; Wed, 18 Jan 2023 08:28:07 +0100 From: Marcel Ziswiler To: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, Marcel Ziswiler , Fabio Estevam , Krzysztof Kozlowski , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo Subject: [PATCH v4 13/17] arm64: dts: freescale: apalis-imx8: add bkl1_pwm functionality Date: Wed, 18 Jan 2023 08:26:51 +0100 Message-Id: <20230118072656.18845-14-marcel@ziswiler.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20230118072656.18845-1-marcel@ziswiler.com> References: <20230118072656.18845-1-marcel@ziswiler.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:XPfPxjgcJ4c9YMwmnfVzwRE9rjbrVlToLd7OpFT8+yt+S2ZAZ++ XsWm04PSs/8GWEO1DuLWSJUcNDlnfpcKOlhCfqtLxndRyQuKhr6Y9hBJ6AJ9eFfg08BOtEx zSkL9VYv7exGPlsyRGAeZ7lbbw4QFUQZKwwUsiCsy3e3tgUz+RD0MNtzQWRLLWPnydkPzjZ YBUbKingi91r6uE0nqAFg== UI-OutboundReport: notjunk:1;M01:P0:KxClaBHLYUg=;tkUyzOBxosW9CbSOLe4xIU31wks M8etEV2BZwqGX5VR8mSBY9l2QzlRm4Pm9qvB9dH46f6uUX64+sWb2mw72cSaNCvkrOCzGfDSJ ZQcgmVjrE/NaIG673sqSexkYriviYLNWHFSrJ1x22JaeaNpTGJ5g/NUcl0XueV2fy7qkB8RPx tfoZFZw8YkpxYUc9Szkq/PouvkypbubAgD2C2Tc0mZ+8zH7TRMlJvH7nalfLICooutmVKkPDf Sz5h8SpEYJ5Ql36///qD2D5jJ8pL5yy6PioFhu301mDMWtp2qOvy9lHe/Uj6zIZFfhZw7y6cQ k1/1u2Rzmc0L+l2qRDMo8jtwl1IUE2fp5d2b4vwt4/FGfFmai7EUnB+h7YWL4ikJXBANmIi87 Va152OEPKa7YdeFpiE9oT5r7XU7xtsIS5rmhaitWUwO3xlgGWk80lzGZlHnsc2OsgUim/AXTv j1Q3giAQiuPppNaaP2SfWQTlckXLJ8WQcXGTLmJoGNZGx6Wxp4ZKTwLuk4iG7ATXmrQvSHIHG b/b5A6KxQ1DhYHZsBMHNaRs7+mXixO/6xD7aVScprZiy+8Eb6f3y/3BEYs8Ugx/+/VDu2VyZD u9phrIsGYvsi52EQDrMioLGa4yrkly7AS4l4DNh7nqHf4pp9QJY56EUszibqNLZ39kpjogAK/ +3GnLgtsb9wo1o2iFXs9NCNtQjbjhWV/qBk8dtUEQA== X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE autolearn=ham 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 From: Marcel Ziswiler Add Apalis BKL1_PWM functionality. Signed-off-by: Marcel Ziswiler --- Changes in v4: - New patch adding Apalis BKL1_PWM functionality. arch/arm64/boot/dts/freescale/imx8-apalis-eval.dtsi | 7 ++++++- .../arm64/boot/dts/freescale/imx8-apalis-ixora-v1.1.dtsi | 7 ++++++- .../arm64/boot/dts/freescale/imx8-apalis-ixora-v1.2.dtsi | 7 ++++++- arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi | 9 +++++++-- 4 files changed, 25 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8-apalis-eval.dtsi b/arch/arm64/boot/dts/freescale/imx8-apalis-eval.dtsi index 060454f25c98..003bc5377ce7 100644 --- a/arch/arm64/boot/dts/freescale/imx8-apalis-eval.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8-apalis-eval.dtsi @@ -106,7 +106,12 @@ &lsio_pwm3 { /* TODO: Apalis PCIE1 */ -/* TODO: Apalis BKL1_PWM */ +/* Apalis BKL1_PWM */ +&pwm_lvds1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm_bkl>; + status = "okay"; +}; /* TODO: Apalis DAP1 */ diff --git a/arch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.1.dtsi b/arch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.1.dtsi index caaafc9900a6..97a7db1f875b 100644 --- a/arch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.1.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.1.dtsi @@ -182,7 +182,12 @@ &lsio_pwm3 { /* TODO: Apalis PCIE1 */ -/* TODO: Apalis BKL1_PWM */ +/* Apalis BKL1_PWM */ +&pwm_lvds1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm_bkl>; + status = "okay"; +}; /* TODO: Apalis DAP1 */ diff --git a/arch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.2.dtsi b/arch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.2.dtsi index 5bc55a58db97..4186c6c9d5ec 100644 --- a/arch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.2.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.2.dtsi @@ -227,7 +227,12 @@ &lsio_pwm3 { /* TODO: Apalis PCIE1 */ -/* TODO: Apalis BKL1_PWM */ +/* Apalis BKL1_PWM */ +&pwm_lvds1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm_bkl>; + status = "okay"; +}; /* TODO: Apalis DAP1 */ diff --git a/arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi b/arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi index 4c88678e2bc7..5508f0daf579 100644 --- a/arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi @@ -18,7 +18,7 @@ backlight: backlight { enable-gpios = <&lsio_gpio1 4 GPIO_ACTIVE_HIGH>; /* Apalis BKL1_ON */ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio_bkl_on>; - /* TODO: hook-up to Apalis BKL1_PWM */ + pwms = <&pwm_lvds1 0 6666667 PWM_POLARITY_INVERTED>; status = "disabled"; }; @@ -678,7 +678,12 @@ &lsio_pwm3 { /* TODO: On-module Wi-Fi */ -/* TODO: Apalis BKL1_PWM */ +/* Apalis BKL1_PWM */ +&pwm_lvds1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm_bkl>; + #pwm-cells = <3>; +}; /* TODO: Apalis DAP1 */ -- 2.35.1