From patchwork Mon Nov 6 15:13:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13447098 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 5556BC4167D for ; Mon, 6 Nov 2023 15:14:02 +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=8cCFAasWt0kODiZ8T3cN23fUaRJYHUqWFhBgoe678Iw=; b=d6TyFpN/bn2vDm FrJwAjCfeZ0t0zcVX/rQTli+DMD5NvMaGBnifgwSiBmTJkvbx2Thlh1Kz+D0kH9t/mXlk27JdvvMS 1fpJVhXeeHqW4imsIDY0erm6CE0OW+8U/NG8Vf8v+i1qcxpeyZumdhiq5IFtlRb/tlJ1rVpDyyy5x 7Mw2jul5foRShmhf53M9CqtaDYUhiOWk6qg8WoPjgz05OUYmbF8vdmyzscPgLrNreT3fhp4rzJPTK 1zFnTDM36+Skp4YHFZr/1XuyI2vpPWi7JQedfib+2Sw4+rSkZK/K4ikN4xwgSLUsR/bqNkPFVcEJA 8HRw+1CAKpXsJfkmsXsg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r01IE-00Gxf0-24; Mon, 06 Nov 2023 15:13:34 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r01IB-00Gxdb-1u for linux-arm-kernel@lists.infradead.org; Mon, 06 Nov 2023 15:13:33 +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=1699283611; x=1730819611; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=KNiOMDJAzV9yZ2SFe1He/zVRz1ovyntIl9aYIbIjfB4=; b=GIZs5fRE+tTnTQ7eIOccM07+jCDXxl4WHuPclCJmWpmK2sxuvlR+4Gwe oN85f0jegFVoYfjMP0uPUEm7pjGc6LITqY5ruYXCCp/gAVg9zcga4QQiD XGl172Xo9ApFNPI7E+9n338GXssf1CcvxC2EHBnmnGmoZCRWQ0wnVYX/r oWvXvpp/OpucTUg6x3iDKXARXfSvbIL3mfy8y3SnsaFLDqBEGwuLM+QjT M3J6+DhVRYTZj+RlYcVcTFO4S0pFkE6H74bPD9W2Dcsh/by6rK5ZBgCPt af7QGQdKxPPlIJ8dJs+Bg2rgNPb7NHmmEgJaC3KIYoo5HxRthBth4WoD4 A==; X-IronPort-AV: E=Sophos;i="6.03,281,1694728800"; d="scan'208";a="33832043" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 06 Nov 2023 16:13:27 +0100 Received: from steina-w.tq-net.de (steina-w.tq-net.de [10.123.53.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id D677C28007F; Mon, 6 Nov 2023 16:13:26 +0100 (CET) From: Alexander Stein To: Thierry Reding , =?utf-8?q?Uwe_Kleine-K=C3=B6n?= =?utf-8?q?ig?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 0/3] imx8qm/imx8qxp: Support for inverted PWM Date: Mon, 6 Nov 2023 16:13:23 +0100 Message-Id: <20231106151326.812099-1-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231106_071332_041685_F40CC98F X-CRM114-Status: GOOD ( 11.32 ) 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 Hi, this small series adds support for inverted PWM output i.MX8QM/QXP. Driver is already there, but #pwm-cells needs to be adjusted in DT. While at it, enforce the same #pwm-cells value for all compatibles. Changes in v2: * Rework patch 1: Set #pwm-cells fixes to 1 * Rework comment accordingly The only compatible for <2> aready uses <3> instead * Collected Uwe's R-b Thanks Alexander Alexander Stein (3): dt-bindings: pwm: imx-pwm: Unify #pwm-cells for all compatibles arm64: dts: freescale: imx8-ss-lsio: Fix #pwm-cells arm64: dts: freescale: imx8-ss-dma: Fix #pwm-cells Documentation/devicetree/bindings/pwm/imx-pwm.yaml | 10 ++++------ arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi | 2 +- arch/arm64/boot/dts/freescale/imx8-ss-lsio.dtsi | 8 ++++---- 3 files changed, 9 insertions(+), 11 deletions(-)