From patchwork Mon May 2 09:48:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 12834077 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 9EA07C433EF for ; Mon, 2 May 2022 09:50:24 +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=3eqIcn2WTUOiE+/tN9XA0jwl100g0A+cloRoRvBXdcM=; b=zsHn8YTX10WFoj w1yN6/dYHhzBwamD75MNbTO+HyHoKUIM71cWQsKAIUnh3Of6VJ3TZ3+ecoPg+peiV2T/tIxmZVPVH ffbu0hGumd3ktytngwjasijB5mFqbdgt3xUdhhjKxL5UuqELtjajXiWdzd+XHt6zuigT3ZNqt6AB2 REy/GllkEXATpPNu72w1BqiFNmUsQ7Iu0eGm5Fjj6bmeedVDKKt6lsBjJR+FjBADiIrsZax1Y/n+R n0vV8JefRpLUcKNndha8uRxX2qSyY8ozWKGsdZMgrrhUe6HpsnhVnwrHtw+cEiy0N7YJ2VHKKoOue 3AF6hu9zYoVwuMcUj0GQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nlSg8-000g7Q-Ug; Mon, 02 May 2022 09:49:17 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nlSg4-000g3x-QM for linux-arm-kernel@lists.infradead.org; Mon, 02 May 2022 09:49:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1651484952; x=1683020952; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=ZVCo58L2rU8z55TFcI8A+ssV8amwrxNlj/6HvBXrQLg=; b=e0QqjXuwVh1bWKU5wzp5Fl6mu5vQwgC3Te6Pg52uS0Jdp/2j5WjfXYVf UjlmJ7v6F+xPus3c7yZGCCbjGbhX5rxZRcdXn9xvl6Gn6AUeWOAS/sqz9 DmQC9pZDfhQ6UuPqAE08rmCBV5byH+KdacvsWySzErAcz7RrI1ipbpSNB dl2QsA8zR7rQKm1oHDM6jlLH2kzUlhtnVX8tAZY9iTTw59i2f1EvuKcL7 LfegAp6nkmtS+z46uP+6MT23Cux5YGo/4VW5XnX/28QlwOP8ytXw88w1T 64CSdR3ZySKrbwyi4Ywd1FdRezCY+dvlmEaHSLmZUIy64ExEe/gk7YlNU A==; X-IronPort-AV: E=Sophos;i="5.91,190,1647298800"; d="scan'208";a="23608909" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 02 May 2022 11:49:06 +0200 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Mon, 02 May 2022 11:49:06 +0200 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Mon, 02 May 2022 11:49:06 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1651484946; x=1683020946; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=ZVCo58L2rU8z55TFcI8A+ssV8amwrxNlj/6HvBXrQLg=; b=AxNXQ30riiSt2ywg99N/mUPQxxfFM29ug7Nl9aR8d4eG0cXclFl9S4uD DiwNK7B/tGqZxl9/q+O+xA40YPTC19zzI+uQyTy1qMppFI9RH0JQdvmsK EP5ombapbsuUsQRozql3zBjHK2XgSs7xKmN69/IKT4c83AV5y+OEs5a8w BGoftaHnXFtYoO9Waw9XeydjXVglXBDnkkYcq9wKv04Vcy21RRfustp1P 67FJpCGcR2Jqm6XvDbukcBUGtpUrsZK5096BcgajCq5gGoIKVsAY4ilXh PSnmN5VwUvL3lREW2ZdoP5zac6nxJM38XHdgO0/tZfpSobaNYKYcCo+is Q==; X-IronPort-AV: E=Sophos;i="5.91,190,1647298800"; d="scan'208";a="23608908" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 02 May 2022 11:49:06 +0200 Received: from steina-w.tq-net.de (unknown [10.123.49.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 60FFC280070; Mon, 2 May 2022 11:49:06 +0200 (CEST) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 0/4] i.MX8M PWM polarity support Date: Mon, 2 May 2022 11:48:57 +0200 Message-Id: <20220502094901.251310-1-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220502_024913_287730_D8CA6B17 X-CRM114-Status: GOOD ( 11.02 ) 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, this patchset adds the possibility to specify a PWM polarity inversion for i.MX8M. The pwm-imx27 driver already supports this in the 3rd pwm-cells, but the DT for imx8m so far only set #pwm-cells=<2>. Add support by setting #pwm-cells=<3> and adding the (default) normal (0) polarity to all boards. make dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/pwm/imx-pwm.yaml was used to get all boards. Best regards, Alexander Markus Niebel (4): arm64: dt: imx8mq: support pwm polarity inversion arm64: dt: imx8mm: support pwm polarity inversion arm64: dt: imx8mn: support pwm polarity inversion arm64: dt: imx8mp: support pwm polarity inversion .../boot/dts/freescale/imx8mm-data-modul-edm-sbc.dts | 2 +- arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi | 2 +- arch/arm64/boot/dts/freescale/imx8mm.dtsi | 8 ++++---- arch/arm64/boot/dts/freescale/imx8mn.dtsi | 8 ++++---- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 8 ++++---- arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts | 2 +- arch/arm64/boot/dts/freescale/imx8mq-mnt-reform2.dts | 2 +- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 8 ++++---- 8 files changed, 20 insertions(+), 20 deletions(-)