From patchwork Tue Aug 22 14:56:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sean Young X-Patchwork-Id: 715859 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 34571EE49AA for ; Tue, 22 Aug 2023 14:56:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236991AbjHVO4s (ORCPT ); Tue, 22 Aug 2023 10:56:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233629AbjHVO4s (ORCPT ); Tue, 22 Aug 2023 10:56:48 -0400 X-Greylist: delayed 18014 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 22 Aug 2023 07:56:46 PDT Received: from gofer.mess.org (gofer.mess.org [88.97.38.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90227137; Tue, 22 Aug 2023 07:56:46 -0700 (PDT) Received: by gofer.mess.org (Postfix, from userid 1000) id AAB991000D0; Tue, 22 Aug 2023 15:56:44 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mess.org; s=2020; t=1692716204; bh=Snqk1wpg6yPAf11U5dGfhuPpr3hEjrkTgVixVBqscIc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ryhpdIuVV8LnneCETMnnCwdLuES5v5gEaobWP7P7sX8CV6h4lDjTEOohIRUp+LS1d Q0q1xuKJUhcPgnZTz7jGdH/hT74MThQdACj0YlIgqBiUsUrXtYi0tS2PXqSrmTNQg9 FqtD8nex3vna+cTaZ08K/dIvWNXkKHHdRyXPdw01Fj6z7JLtecTyjy+IgrPmZIU5pM OsWU8UyMcH6UDv8N9A3dRMsaPlmfWXuiLJaUyHehsEVj3T1i94oUzHuE4BaiJAbpN5 xjHgFQ/YS/RS+KSR2f+KNHJsIFVSFrSPBcJF7unW1sVn7+ojo7ygVMTEfF8tLeyL/l mRjXch01AYN5g== From: Sean Young To: linux-media@vger.kernel.org Cc: Sicelo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, Ivaylo Dimitrov , =?utf-8?q?Pali_Roh=C3=A1r?= , Pavel Machek , Timo Kokkonen , Tony Lindgren Subject: [PATCH v3 2/2] media: dt-bindings: media: remove nokia,n900-ir as pwm-ir-tx is compatible Date: Tue, 22 Aug 2023 15:56:44 +0100 Message-Id: <20230822145644.213589-3-sean@mess.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230822145644.213589-1-sean@mess.org> References: <20230822145644.213589-1-sean@mess.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The generic pwm-ir-tx driver works for the Nokia n900, so nokia,n900-ir can be removed. Cc: Sicelo Cc: Rob Herring Cc: Krzysztof Kozlowski Cc: Conor Dooley Cc: devicetree@vger.kernel.org Cc: Ivaylo Dimitrov Cc: Pali Rohár Cc: Pavel Machek Cc: Timo Kokkonen Cc: Tony Lindgren Signed-off-by: Sean Young --- .../bindings/leds/irled/pwm-ir-tx.yaml | 4 +++- .../devicetree/bindings/media/nokia,n900-ir | 20 ------------------- 2 files changed, 3 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..dc19b6475ba8 100644 --- a/Documentation/devicetree/bindings/leds/irled/pwm-ir-tx.yaml +++ b/Documentation/devicetree/bindings/leds/irled/pwm-ir-tx.yaml @@ -15,7 +15,9 @@ description: properties: compatible: - const: pwm-ir-tx + - 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 */ - };