From patchwork Sat Aug 26 17:17:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Young X-Patchwork-Id: 13366633 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 998E1C83F01 for ; Sat, 26 Aug 2023 17:17:49 +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=2IrSBDEVB30r9xaWwJS/n4h0QYQn4lTtUD9EYTf5lTc=; b=urSSIuv0/xTAAA iYSgKpPZL21l9MxQTmtrok5aWXfoRS0nxB+Lh/wJZnKx+jG1LryHVpDRQkjSWm/nXjiW9BUgqu9Ej dvFt4gazaCtzFGzky/pr/abSHo9p72XTlVa+Jn61e2E4QqceqGMxqoubCLESbZbjUiHs49bN4B2L2 +w/VFOIeiomburPRE/Z0Us3xHex3jUkUE8Ci1EA/i6Rya7CKIaRbpBRbyNgoLapd2/9XSFGg2p62f RjaV8P+FLVG0YCSzHzjySXFv8i5ULF9udeQA/4PidAz78n13K/QxIWvUUQXOJz75YgpdUIqG4VN7u wSsc3C7ftm53nYOSRgWQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qZwuU-0075DJ-31; Sat, 26 Aug 2023 17:17:18 +0000 Received: from gofer.mess.org ([88.97.38.141]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qZwuS-0075Cz-1r for linux-arm-kernel@lists.infradead.org; Sat, 26 Aug 2023 17:17:17 +0000 Received: by gofer.mess.org (Postfix, from userid 1000) id C134B1000D0; Sat, 26 Aug 2023 18:17:11 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mess.org; s=2020; t=1693070231; bh=Lbm8wzOKC2M9GeSPbw06e8KPiOFgpvPECNpJXbRnIo4=; h=From:To:Cc:Subject:Date:From; b=j9u+3HNFtL/ansIVY+kJ3/2edhhGvGpGn6BYGnX27uq8OmsPe8Y19TZW7+NgLx6g5 9cdoJ+efWCPyt4YPyi2KRjsqxHa+lxtqIYlIlY+hX9KqLyzbwx1891j7C3pTynEs6J H2ErMmFPJttjPT8iXlbCT4Mp/mKFedFttF86kgGsZSPXLqvAvTxY/rVG8aubFlDPqO xVwicVAj5iHnWZnl6PnQcXNPjXRvf/WIZEnY7qVKLI6hFeAEov860KW3ZoXSnOFZTm 5+QuPlFkCALmT3AJOaaAcsKzZ655Djqrt4rs4JJ50f6ebSo2v6cJ1zqm1aCJZ8ku+x oVqbnUtBMdh4Q== From: Sean Young To: linux-media@vger.kernel.org Cc: Tony Lindgren , Russell King , Thierry Reding , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pwm@vger.kernel.org, Ivaylo Dimitrov , =?utf-8?q?Pali_Roh=C3=A1r?= , Pavel Machek , Timo Kokkonen Subject: [PATCH v4 2/2] dt-bindings: media: remove nokia,n900-ir as pwm-ir-tx is compatible Date: Sat, 26 Aug 2023 18:17:11 +0100 Message-Id: <20230826171711.366710-1-sean@mess.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230826_101716_777159_1EA198DA X-CRM114-Status: GOOD ( 11.80 ) 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 The generic pwm-ir-tx driver works for the Nokia n900, so nokia,n900-ir can be removed. Signed-off-by: Sean Young --- .../bindings/leds/irled/pwm-ir-tx.yaml | 5 ++++- .../devicetree/bindings/media/nokia,n900-ir | 20 ------------------- 2 files changed, 4 insertions(+), 21 deletions(-) delete mode 100644 Documentation/devicetree/bindings/media/nokia,n900-ir diff --git a/Documentation/devicetree/bindings/leds/irled/pwm-ir-tx.yaml b/Documentation/devicetree/bindings/leds/irled/pwm-ir-tx.yaml index f2a6fa140f38..7526e3149f72 100644 --- a/Documentation/devicetree/bindings/leds/irled/pwm-ir-tx.yaml +++ b/Documentation/devicetree/bindings/leds/irled/pwm-ir-tx.yaml @@ -15,7 +15,10 @@ description: properties: compatible: - const: pwm-ir-tx + oneOf: + - const: pwm-ir-tx + - const: nokia,n900-ir + deprecated: true pwms: maxItems: 1 diff --git a/Documentation/devicetree/bindings/media/nokia,n900-ir b/Documentation/devicetree/bindings/media/nokia,n900-ir deleted file mode 100644 index 13a18ce37dd1..000000000000 --- a/Documentation/devicetree/bindings/media/nokia,n900-ir +++ /dev/null @@ -1,20 +0,0 @@ -Device-Tree bindings for LIRC TX driver for Nokia N900(RX51) - -Required properties: - - compatible: should be "nokia,n900-ir". - - pwms: specifies PWM used for IR signal transmission. - -Example node: - - pwm9: dmtimer-pwm@9 { - compatible = "ti,omap-dmtimer-pwm"; - ti,timers = <&timer9>; - ti,clock-source = <0x00>; /* timer_sys_ck */ - #pwm-cells = <3>; - }; - - ir: n900-ir { - compatible = "nokia,n900-ir"; - - pwms = <&pwm9 0 26316 0>; /* 38000 Hz */ - };