From patchwork Thu Mar 24 06:03:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?WGlubGVpIExlZSAo5p2O5piV56OKKQ==?= X-Patchwork-Id: 12790410 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 B1783C433EF for ; Thu, 24 Mar 2022 06:09:35 +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:References:In-Reply-To: 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: List-Owner; bh=u3m/p4H7Sk802HE1mSzJxAVKEAOqv0kBr8qONAw+U9M=; b=wqewwIvqn6ftKg ylOi2rMenOHfdIrZ3CmqN4VeNF+PREbMthf8TTf5KBXdefNEu9bp2QSx0XSOTRSAk0Eji5COr5l+s bhnd2YyBK/9Ytu9ILfmTGr6U+gQTXcBe45h8s9rgt8CuYEhXvtuTNwRqkti4W19LLKpotbP6SrL79 +OnkSdO3OH07zCdg8Vxsf9KnXxLN1BfBCVVgOt745CmJTtW/N2q9rBwlRXMhQQlyjSanVL/+Y4zYY 8s0FZOM0JNG8kDA8x5YMRjZip/7Dqr9sqSIFwUZNSG8BLnClVA0cSokSnYQNw4ESMe0GOOlP0LES/ +2PDt8eX1jSMnK8bzO0g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nXGe7-00FlBZ-P7; Thu, 24 Mar 2022 06:08:31 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nXGdk-00Fl2G-4l; Thu, 24 Mar 2022 06:08:09 +0000 X-UUID: d97a675c86004ebaace3b3ae83d2c704-20220323 X-UUID: d97a675c86004ebaace3b3ae83d2c704-20220323 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1442273135; Wed, 23 Mar 2022 23:08:03 -0700 Received: from MTKMBS34N1.mediatek.inc (172.27.4.172) by MTKMBS62DR.mediatek.inc (172.29.94.18) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 23 Mar 2022 23:03:31 -0700 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS34N1.mediatek.inc (172.27.4.172) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 24 Mar 2022 14:03:29 +0800 Received: from mszsdaap41.gcn.mediatek.inc (10.16.6.141) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 24 Mar 2022 14:03:28 +0800 From: To: , , , , , CC: , , , , , , , , Xinlei Lee Subject: [PATCH v4, 1/6] dt-bindings: pwm: Convert pwm-mtk-disp.txt to mediatek, pwm-disp.yaml format Date: Thu, 24 Mar 2022 14:03:19 +0800 Message-ID: <1648101804-3584-2-git-send-email-xinlei.lee@mediatek.com> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1648101804-3584-1-git-send-email-xinlei.lee@mediatek.com> References: <1648101804-3584-1-git-send-email-xinlei.lee@mediatek.com> MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220323_230808_203004_C273ECE0 X-CRM114-Status: GOOD ( 15.88 ) 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 From: Xinlei Lee Convert pwm-mtk-disp.txt to mediatek,pwm-disp.yaml format as suggested by maintainer Signed-off-by: Xinlei Lee Reviewed-by: Rob Herring --- .../bindings/pwm/mediatek,pwm-disp.yaml | 65 +++++++++++++++++++ .../devicetree/bindings/pwm/pwm-mtk-disp.txt | 44 ------------- 2 files changed, 65 insertions(+), 44 deletions(-) create mode 100644 Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml delete mode 100644 Documentation/devicetree/bindings/pwm/pwm-mtk-disp.txt diff --git a/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml b/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml new file mode 100644 index 000000000000..f844695d605a --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml @@ -0,0 +1,65 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/mediatek,pwm-disp.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mediatek DISP_PWM Controller Device Tree Bindings + +maintainers: + - Jitao Shi + - Xinlei Lee + +allOf: + - $ref: pwm.yaml# + +properties: + compatible: + oneOf: + - enum: + - mediatek,mt2701-disp-pwm + - mediatek,mt6595-disp-pwm + - mediatek,mt8173-disp-pwm + - items: + - const: mediatek,mt8167-disp-pwm + - const: mediatek,mt8173-disp-pwm + + reg: + maxItems: 1 + + "#pwm-cells": + const: 2 + + clocks: + items: + - description: Main Clock + - description: Mm Clock + + clock-names: + items: + - const: main + - const: mm + +required: + - compatible + - reg + - "#pwm-cells" + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + #include + #include + #include + + pwm0: pwm@1401e000 { + compatible = "mediatek,mt8173-disp-pwm"; + reg = <0x1401e000 0x1000>; + #pwm-cells = <2>; + clocks = <&mmsys CLK_MM_DISP_PWM026M>, + <&mmsys CLK_MM_DISP_PWM0MM>; + clock-names = "main", "mm"; + }; diff --git a/Documentation/devicetree/bindings/pwm/pwm-mtk-disp.txt b/Documentation/devicetree/bindings/pwm/pwm-mtk-disp.txt deleted file mode 100644 index 902b271891ae..000000000000 --- a/Documentation/devicetree/bindings/pwm/pwm-mtk-disp.txt +++ /dev/null @@ -1,44 +0,0 @@ -MediaTek display PWM controller - -Required properties: - - compatible: should be "mediatek,-disp-pwm": - - "mediatek,mt2701-disp-pwm": found on mt2701 SoC. - - "mediatek,mt6595-disp-pwm": found on mt6595 SoC. - - "mediatek,mt8167-disp-pwm", "mediatek,mt8173-disp-pwm": found on mt8167 SoC. - - "mediatek,mt8173-disp-pwm": found on mt8173 SoC. - - reg: physical base address and length of the controller's registers. - - #pwm-cells: must be 2. See pwm.yaml in this directory for a description of - the cell format. - - clocks: phandle and clock specifier of the PWM reference clock. - - clock-names: must contain the following: - - "main": clock used to generate PWM signals. - - "mm": sync signals from the modules of mmsys. - - pinctrl-names: Must contain a "default" entry. - - pinctrl-0: One property must exist for each entry in pinctrl-names. - See pinctrl/pinctrl-bindings.txt for details of the property values. - -Example: - pwm0: pwm@1401e000 { - compatible = "mediatek,mt8173-disp-pwm", - "mediatek,mt6595-disp-pwm"; - reg = <0 0x1401e000 0 0x1000>; - #pwm-cells = <2>; - clocks = <&mmsys CLK_MM_DISP_PWM026M>, - <&mmsys CLK_MM_DISP_PWM0MM>; - clock-names = "main", "mm"; - pinctrl-names = "default"; - pinctrl-0 = <&disp_pwm0_pins>; - }; - - backlight_lcd: backlight_lcd { - compatible = "pwm-backlight"; - pwms = <&pwm0 0 1000000>; - brightness-levels = < - 0 16 32 48 64 80 96 112 - 128 144 160 176 192 208 224 240 - 255 - >; - default-brightness-level = <9>; - power-supply = <&mt6397_vio18_reg>; - enable-gpios = <&pio 95 GPIO_ACTIVE_HIGH>; - }; From patchwork Thu Mar 24 06:03:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?WGlubGVpIExlZSAo5p2O5piV56OKKQ==?= X-Patchwork-Id: 12790416 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 67653C433EF for ; Thu, 24 Mar 2022 06:13:06 +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:References:In-Reply-To: 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: List-Owner; bh=aZxkZ7dnrreW0K40aoMKMrDnUlP9xm+mR8vFxz3EBzQ=; b=cx6lfciMbvqPGJ 8GSk9pQWPkNyHSrcHxtGomvcACS+13NK1FjLRxqfAHH0ydAR/uHtEjA4Tk8/DIho4se3koU9JKAA8 jWQRBd/8UsI8Hl+e0nBpBv/6e8e/Wm6+uYTXIjzMCdhsG5SqSizSeRRTYzNq0Hae7DjBf3iFZoukm rxskCVYlFuXFK7umoWAMLvvYMbzHvg5P4sSH5o8twcKuSkqmk0W6uAq3REfSzWjDNmBfUjuZIw1hp 2E92agugOFNp4o93EYfQG3+dduMrbEMOSXSuHZ9hxh8/nCb51sieRr9ukJRuvD5zjm8LyiTs3zUuu ntj0/zee/rb8mxzBUosw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nXGhV-00FmA8-Tq; Thu, 24 Mar 2022 06:12:02 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nXGhE-00Fm6C-Oi; Thu, 24 Mar 2022 06:11:45 +0000 X-UUID: 075757c44ee64c4aa3c3f1eb3a84173e-20220323 X-UUID: 075757c44ee64c4aa3c3f1eb3a84173e-20220323 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1801371441; Wed, 23 Mar 2022 23:11:41 -0700 Received: from MTKMBS34N1.mediatek.inc (172.27.4.172) by MTKMBS62N2.mediatek.inc (172.29.193.42) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 23 Mar 2022 23:03:34 -0700 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS34N1.mediatek.inc (172.27.4.172) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 24 Mar 2022 14:03:32 +0800 Received: from mszsdaap41.gcn.mediatek.inc (10.16.6.141) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 24 Mar 2022 14:03:31 +0800 From: To: , , , , , CC: , , , , , , , , Xinlei Lee Subject: [PATCH v4, 2/6] dt-bindings: pwm: Remove compatible for MediaTek MT8167 Date: Thu, 24 Mar 2022 14:03:20 +0800 Message-ID: <1648101804-3584-3-git-send-email-xinlei.lee@mediatek.com> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1648101804-3584-1-git-send-email-xinlei.lee@mediatek.com> References: <1648101804-3584-1-git-send-email-xinlei.lee@mediatek.com> MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220323_231144_815452_DEC71049 X-CRM114-Status: UNSURE ( 9.14 ) X-CRM114-Notice: Please train this message. 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 From: Xinlei Lee Remove dt-binding documentation of pwm for MediaTek MT8167 SoC. I did not find the compatiable corresponding to mt8167 in the latest version of the pwm-mtk-disp.c driver file. It may be disabled but not updated to the dt_binding file. Signed-off-by: Xinlei Lee --- Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml b/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml index f844695d605a..f18e8bbd13d2 100644 --- a/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml +++ b/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml @@ -20,9 +20,6 @@ properties: - mediatek,mt2701-disp-pwm - mediatek,mt6595-disp-pwm - mediatek,mt8173-disp-pwm - - items: - - const: mediatek,mt8167-disp-pwm - - const: mediatek,mt8173-disp-pwm reg: maxItems: 1 From patchwork Thu Mar 24 06:03:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?WGlubGVpIExlZSAo5p2O5piV56OKKQ==?= X-Patchwork-Id: 12790415 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 607D4C433EF for ; Thu, 24 Mar 2022 06:12:54 +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:References:In-Reply-To: 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: List-Owner; bh=0BYBawgNOL9DsxCp0eCuiW+Zug8kvzDwct+UEldLqnI=; b=TIEqhFjSQot8/V GtQJJScLydweIZsCrIf3IVVAQRBkqK9bHRvKxib1qATCfMFzNRY1qPMWADpw9LW2iQ2Afw40rkioV HgA/qBLzUG/cvew3cPnArooiGLP28MbLc8rXhMX+vgbUp6QsYfpAGSeh/o6QCjG8klNNOYWH6zKL3 sHKYfB30N/PM5nsCequsqnUnkLDRFY5vl/j2ZXTojth7fp5lig238rpD2nXLWmSalkGEiBI83zv95 lsAJgpMyzRwy5pOhHjeOar2rIAFCuut3bQYXgLXbZ7YrPbDJKW0Z/qjPfYaPELhs+kK/WKvuhktVh sOP1qn3gK29gm90epo8A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nXGhJ-00Fm7E-Ro; Thu, 24 Mar 2022 06:11:49 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nXGhE-00Fm5s-0s; Thu, 24 Mar 2022 06:11:45 +0000 X-UUID: 0daaf79ec6924d9bb4e8e9f44b975d3a-20220323 X-UUID: 0daaf79ec6924d9bb4e8e9f44b975d3a-20220323 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 581664000; Wed, 23 Mar 2022 23:11:41 -0700 Received: from MTKMBS34N1.mediatek.inc (172.27.4.172) by MTKMBS62N2.mediatek.inc (172.29.193.42) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 23 Mar 2022 23:03:35 -0700 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS34N1.mediatek.inc (172.27.4.172) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 24 Mar 2022 14:03:34 +0800 Received: from mszsdaap41.gcn.mediatek.inc (10.16.6.141) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 24 Mar 2022 14:03:33 +0800 From: To: , , , , , CC: , , , , , , , , Xinlei Lee Subject: [PATCH v4,3/6] dt-bindings: pwm: Add compatible for MediaTek MT8183 Date: Thu, 24 Mar 2022 14:03:21 +0800 Message-ID: <1648101804-3584-4-git-send-email-xinlei.lee@mediatek.com> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1648101804-3584-1-git-send-email-xinlei.lee@mediatek.com> References: <1648101804-3584-1-git-send-email-xinlei.lee@mediatek.com> MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220323_231144_074451_66B520B8 X-CRM114-Status: UNSURE ( 7.98 ) X-CRM114-Notice: Please train this message. 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 From: Xinlei Lee Add dt-binding documentation of pwm for MediaTek MT8183 SoC. Signed-off-by: Xinlei Lee Acked-by: Rob Herring --- Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml b/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml index f18e8bbd13d2..3a1ba329b7b3 100644 --- a/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml +++ b/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml @@ -20,6 +20,7 @@ properties: - mediatek,mt2701-disp-pwm - mediatek,mt6595-disp-pwm - mediatek,mt8173-disp-pwm + - mediatek,mt8183-disp-pwm reg: maxItems: 1 From patchwork Thu Mar 24 06:03:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?WGlubGVpIExlZSAo5p2O5piV56OKKQ==?= X-Patchwork-Id: 12790405 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 18E9BC433F5 for ; Thu, 24 Mar 2022 06:05:22 +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:References:In-Reply-To: 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: List-Owner; bh=2X/WOFZ5U3hAKekyG4RCKUWqRohX1zPGUccLHutqKCA=; b=26P7d72KAmcuVN 61TWQ56MvjQw7BHjwyGb08Y6lLHt7mIUB3o6XJPVdQHLgTiAsHbwt8/kk4MEE0tRoX1wluCib2lKO LTdYefQNTXPqZ639bXxCuhejU67BNwVvjdM8aRhWhO2BgM71VLuJp+cDF/jc8i8lvzu2wPrNVFtS5 DO1eHPQZcHLjIedaFSx0Z4eE0czUzF009WY4+Xqjodh58R67MYiilM8gQMDBZWBeBBQOrZuUggkRU dKG7AF4h5Q3J2t5HoC+UIMXMY1InHob1HJ2f6CI5ifNKpUPgxbQwEW31vZOTiS2IirymyWiDNrv/j EL7NTgCDIo2/KceSvg8g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nXGa0-00Fjn9-1g; Thu, 24 Mar 2022 06:04:16 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nXGZV-00FjXR-49; Thu, 24 Mar 2022 06:03:46 +0000 X-UUID: 5233df15af054c16a7a5ba24fabb6a04-20220323 X-UUID: 5233df15af054c16a7a5ba24fabb6a04-20220323 Received: from mtkcas68.mediatek.inc [(172.29.94.19)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 2031980678; Wed, 23 Mar 2022 23:03:41 -0700 Received: from MTKMBS34N1.mediatek.inc (172.27.4.172) by MTKMBS62N1.mediatek.inc (172.29.193.41) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 23 Mar 2022 23:03:39 -0700 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS34N1.mediatek.inc (172.27.4.172) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 24 Mar 2022 14:03:37 +0800 Received: from mszsdaap41.gcn.mediatek.inc (10.16.6.141) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 24 Mar 2022 14:03:36 +0800 From: To: , , , , , CC: , , , , , , , , Xinlei Lee Subject: [PATCH v4,4/6] dt-bindings: pwm: Add compatible for MediaTek MT8192 Date: Thu, 24 Mar 2022 14:03:22 +0800 Message-ID: <1648101804-3584-5-git-send-email-xinlei.lee@mediatek.com> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1648101804-3584-1-git-send-email-xinlei.lee@mediatek.com> References: <1648101804-3584-1-git-send-email-xinlei.lee@mediatek.com> MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220323_230345_199645_C5A34036 X-CRM114-Status: UNSURE ( 8.35 ) X-CRM114-Notice: Please train this message. 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 From: Xinlei Lee Add dt-binding documentation of pwm for MediaTek MT8192 SoC. Signed-off-by: Xinlei Lee --- Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml b/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml index 3a1ba329b7b3..2fcd734acaf6 100644 --- a/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml +++ b/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml @@ -21,6 +21,10 @@ properties: - mediatek,mt6595-disp-pwm - mediatek,mt8173-disp-pwm - mediatek,mt8183-disp-pwm + - items: + - enum: + - mediatek,mt8192-disp-pwm + - const: mediatek,mt8183-disp-pwm reg: maxItems: 1 From patchwork Thu Mar 24 06:03:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?WGlubGVpIExlZSAo5p2O5piV56OKKQ==?= X-Patchwork-Id: 12790404 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 44889C433F5 for ; Thu, 24 Mar 2022 06:05:08 +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:References:In-Reply-To: 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: List-Owner; bh=4zf9qKPqDWcE5LHYaPrwLKSLpuCK1BhrYRXU1Yeskqw=; b=knAVtCsj2DxJaG xV7rLjcaCnnqzUfo4wPSs+XSA2RiR64zN7Dc7PbBBBgAv9OfebtZBQCSNNUgxLQfZ9R0+x2ZjIoEg B3P/GFglnWBHCeBwpn8DCmhUflP+sl1pAq0yg+TRpH0rlYEmXzLWZjsfuIkaBxzov3MTh3lOhJvwM wphkvSQJEaIOCxXyE0b+pkQk4a2Z7Lp7jVU7LMsHMb+UTOpK9dCQ921sHx67gwZJ6DyaLRSNLXhCU g4K1uAsXijcDj/wm7vFra5vtPkk2WYXYUP3kD+MWbFFOMtPYHBNLZUAVa6gJPeF0mTL2fnEpnjieY 8ao2Zl+EA9Jq4f2HUkMg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nXGZo-00FjgS-3A; Thu, 24 Mar 2022 06:04:04 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nXGZV-00FjXc-4B; Thu, 24 Mar 2022 06:03:46 +0000 X-UUID: 3d95cdd6764d418dbcbe33e05159cae2-20220323 X-UUID: 3d95cdd6764d418dbcbe33e05159cae2-20220323 Received: from mtkcas68.mediatek.inc [(172.29.94.19)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 392195287; Wed, 23 Mar 2022 23:03:41 -0700 Received: from MTKMBS34N1.mediatek.inc (172.27.4.172) by MTKMBS62N1.mediatek.inc (172.29.193.41) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 23 Mar 2022 23:03:40 -0700 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS34N1.mediatek.inc (172.27.4.172) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 24 Mar 2022 14:03:39 +0800 Received: from mszsdaap41.gcn.mediatek.inc (10.16.6.141) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 24 Mar 2022 14:03:38 +0800 From: To: , , , , , CC: , , , , , , , , Xinlei Lee Subject: [PATCH v4,5/6] dt-bindings: pwm: Add compatible for MediaTek MT8195 Date: Thu, 24 Mar 2022 14:03:23 +0800 Message-ID: <1648101804-3584-6-git-send-email-xinlei.lee@mediatek.com> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1648101804-3584-1-git-send-email-xinlei.lee@mediatek.com> References: <1648101804-3584-1-git-send-email-xinlei.lee@mediatek.com> MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220323_230345_199642_C0642B52 X-CRM114-Status: UNSURE ( 8.34 ) X-CRM114-Notice: Please train this message. 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 From: Xinlei Lee Add dt-binding documentation of pwm for MediaTek MT8195 SoC. Signed-off-by: Xinlei Lee --- Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml b/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml index 2fcd734acaf6..a723819da559 100644 --- a/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml +++ b/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml @@ -24,6 +24,7 @@ properties: - items: - enum: - mediatek,mt8192-disp-pwm + - mediatek,mt8195-disp-pwm - const: mediatek,mt8183-disp-pwm reg: From patchwork Thu Mar 24 06:03:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?WGlubGVpIExlZSAo5p2O5piV56OKKQ==?= X-Patchwork-Id: 12790409 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 9E16CC433F5 for ; Thu, 24 Mar 2022 06:09:15 +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:References:In-Reply-To: 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: List-Owner; bh=kS2r9uXK6POzzA6//R1RQsvlBUJFi8ZWai1/zC3kNGM=; b=p0Q2+HEGPw7zN1 vKrdr6Xk/pYeBG8Cfq0JrMpfLWQJGyMbUCKMntXNPC9q40qdIXrQ7QJGURsVeCrtinSJorTr6+b01 zoTQL0jZCbMunpVqm595ZPchpDpAqWdSl1zFEZvhno8K8x3B/e0+E68g37UeOHZlnEjzPApeGDuVO aNZzo3GzVzabdWEn/q3fiCGS5F3Q/RQKWE+u4Lc8lblyKutiqf+CX/iPACPtRPGBRRcL/aYwA5798 S6M2a/QVN7j2S1YmlIc/CZFFa/6ZUdQcptZk4ZllVfmRVc9FEUZ34Q8uPB+9vkqshdLOXkVuONqPJ 4PtTvta5WiSFzGrMvJeQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nXGdp-00Fl3n-Ie; Thu, 24 Mar 2022 06:08:13 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nXGdj-00Fl1p-5B; Thu, 24 Mar 2022 06:08:08 +0000 X-UUID: ebe36257c4484eddaeedcda1727208e6-20220323 X-UUID: ebe36257c4484eddaeedcda1727208e6-20220323 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1167668081; Wed, 23 Mar 2022 23:08:03 -0700 Received: from MTKMBS34N1.mediatek.inc (172.27.4.172) by MTKMBS62DR.mediatek.inc (172.29.94.18) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 23 Mar 2022 23:03:44 -0700 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS34N1.mediatek.inc (172.27.4.172) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 24 Mar 2022 14:03:42 +0800 Received: from mszsdaap41.gcn.mediatek.inc (10.16.6.141) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 24 Mar 2022 14:03:41 +0800 From: To: , , , , , CC: , , , , , , , , Xinlei Lee Subject: [PATCH v4,6/6] dt-bindings: pwm: Add compatible for MediaTek MT8186 Date: Thu, 24 Mar 2022 14:03:24 +0800 Message-ID: <1648101804-3584-7-git-send-email-xinlei.lee@mediatek.com> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1648101804-3584-1-git-send-email-xinlei.lee@mediatek.com> References: <1648101804-3584-1-git-send-email-xinlei.lee@mediatek.com> MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220323_230807_207573_79FAA32A X-CRM114-Status: UNSURE ( 8.35 ) X-CRM114-Notice: Please train this message. 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 From: Xinlei Lee Add dt-binding documentation of pwm for MediaTek MT8186 SoC. Signed-off-by: Xinlei Lee --- Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml b/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml index a723819da559..47e1cf3ca152 100644 --- a/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml +++ b/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml @@ -23,6 +23,7 @@ properties: - mediatek,mt8183-disp-pwm - items: - enum: + - mediatek,mt8186-disp-pwm - mediatek,mt8192-disp-pwm - mediatek,mt8195-disp-pwm - const: mediatek,mt8183-disp-pwm