From patchwork Wed Mar 2 05:31:41 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: 12765489 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 1CE34C433F5 for ; Wed, 2 Mar 2022 05:35:43 +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=jZjruyF+SZJJZwvrejYbEIbD17zL5/rHWMqlYkZdJZA=; b=KU8oRDlpDBsIq/ gK9X27wWG4BcLKbIW2PJ6iJEE+Gr0+OgxlKJ3Hgw7xF7srMrqMWtFa9g/2xeBTFC6ya41D3EJt2Rb NKus4v1VObtRwPmOZ7wvB3T7KI8q+GuBu5b9WuRSwCeRE4nRvsbPrj2CDEuqkFZgQepEwx5CsU6ra tF9a+tPkf5zDz0KmiIjmOj4HcfXVkbrozcitUac7mVc+j/zyUahA3ue00GuAhsusIMH79Zrmew9hm 0nGFLjliR0+CbFlozxx1AJ9AxRG4bkTFkO+VkRsI/mKxz2Fr/e4sBwRw7GEUNLN0YZUHLkRSWnZbA h5fufVscEg6uoP6OAngg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nPHeA-001WKe-Nw; Wed, 02 Mar 2022 05:35:34 +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 1nPHdo-001WEE-BC; Wed, 02 Mar 2022 05:35:13 +0000 X-UUID: 49fb397b0ab9477c82a588e8a5a5888f-20220301 X-UUID: 49fb397b0ab9477c82a588e8a5a5888f-20220301 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 948291088; Tue, 01 Mar 2022 22:35:00 -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; Tue, 1 Mar 2022 21:31:57 -0800 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; Wed, 2 Mar 2022 13:31:54 +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; Wed, 2 Mar 2022 13:31:53 +0800 From: To: , , , , CC: , , , , , , , , , Xinlei Lee Subject: [PATCH v3, 1/6] dt-bindings: pwm: Convert pwm-mtk-disp.txt to mediatek, pwm-disp.yaml format Date: Wed, 2 Mar 2022 13:31:41 +0800 Message-ID: <1646199106-26879-2-git-send-email-xinlei.lee@mediatek.com> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1646199106-26879-1-git-send-email-xinlei.lee@mediatek.com> References: <1646199106-26879-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-20220301_213512_406908_968B9E64 X-CRM114-Status: GOOD ( 16.63 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org From: Xinlei Lee Convert pwm-mtk-disp.txt to mediatek,pwm-disp.yaml format. 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 Wed Mar 2 05:31:42 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: 12765488 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 C8DF5C433EF for ; Wed, 2 Mar 2022 05:35:23 +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=fnvR1NMaji7wfAwM3lovbbSz+97rtidtYYJ403UtEmQ=; b=QHM7EnFaUf9sKF ARASQShkZ/lrn16dZb44E/bg4Ot5jx3cBTSq+kOWty//UtpYk4Ty2o4YWDroZxJOYv1Mt1/BVt2GM C/PZcsqviGC/9saO8+lV4IKpCtfBzBcMzX+AQoH8f0HefsC+Gd5+7f32MSlgH3gMx2ifZK2r/odLw tqSCllhX5uAqiZXasLEOtn5x4M4TSBRnLdckg/DpHE52Q9U5yfQXfJzOXwh6LpiCei7wB6i3zEFY8 qj5GCRLNjE/8s0CjYS5VazPXaKkvwSBdrYcnTB4oxHSnE2uNfmEdd/WPbxib6RS585eYPCjYD0zZs szYGGhc0vDORqAfC8L4w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nPHdq-001WFz-P6; Wed, 02 Mar 2022 05:35:14 +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 1nPHdk-001WEW-6h; Wed, 02 Mar 2022 05:35:12 +0000 X-UUID: 25d158c48f3e4b48add3e8e241330309-20220301 X-UUID: 25d158c48f3e4b48add3e8e241330309-20220301 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 1202279199; Tue, 01 Mar 2022 22:35:00 -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; Tue, 1 Mar 2022 21:31:58 -0800 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; Wed, 2 Mar 2022 13:31:56 +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; Wed, 2 Mar 2022 13:31:55 +0800 From: To: , , , , CC: , , , , , , , , , Xinlei Lee Subject: [PATCH v3, 2/6] dt-bindings: pwm: Remove compatible for MediaTek MT8167 Date: Wed, 2 Mar 2022 13:31:42 +0800 Message-ID: <1646199106-26879-3-git-send-email-xinlei.lee@mediatek.com> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1646199106-26879-1-git-send-email-xinlei.lee@mediatek.com> References: <1646199106-26879-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-20220301_213508_253965_3EA1766B X-CRM114-Status: UNSURE ( 8.21 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org From: Xinlei Lee Remove dt-binding documentation of pwm for MediaTek MT8167 SoC. 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 Wed Mar 2 05:31:43 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: 12765510 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 D845DC433EF for ; Wed, 2 Mar 2022 05:40:43 +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=KBCJTR5QiXjj4Wr0Kzw1biuC6ajTjbepBVz4b3kDYdQ=; b=udLlUq2Q7MNcsI n8QNN6oE6V5X0adiZd3TfcHvLtvuP/2RBTxY4jAbdHIfTrmAbRKAVE7CAlRip1J9M4NX2RM5uFkQ4 dWLpL+p0a9YW1ZvMfSnOm6BLAahSj8uxHv6uTDLePU7F2qIZinTfq84eI80X3uc8jVOCTQdeyuYKu qQA0HSkVrfUF5mLdmpqs5dYHwmP/zw5IV8Oy+UVaontuQSyhTb9dvlzOWOC4bq2yeFkflSAxGKHcL VWCTgUHOJ9vJ2fBi2AKzyHIqzRtu24vn/BOkaNrrbxfB+9k2DPMzJlmgQbkUtZv7kyUMXpWJjTjJk BxhwHxJC8X5pN18PGk/g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nPHj1-001XXG-3O; Wed, 02 Mar 2022 05:40:35 +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 1nPHiy-001XVl-Ai; Wed, 02 Mar 2022 05:40:33 +0000 X-UUID: 7675df52955d4783b33b918749f21769-20220301 X-UUID: 7675df52955d4783b33b918749f21769-20220301 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 1492946465; Tue, 01 Mar 2022 22:40:28 -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; Tue, 1 Mar 2022 21:32:01 -0800 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; Wed, 2 Mar 2022 13:31:59 +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; Wed, 2 Mar 2022 13:31:58 +0800 From: To: , , , , CC: , , , , , , , , , Xinlei Lee Subject: [PATCH v3,3/6] dt-bindings: pwm: Add compatible for MediaTek MT8183 Date: Wed, 2 Mar 2022 13:31:43 +0800 Message-ID: <1646199106-26879-4-git-send-email-xinlei.lee@mediatek.com> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1646199106-26879-1-git-send-email-xinlei.lee@mediatek.com> References: <1646199106-26879-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-20220301_214032_395265_713CFF92 X-CRM114-Status: UNSURE ( 9.24 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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 Wed Mar 2 05:31:44 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: 12765511 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 E270BC433FE for ; Wed, 2 Mar 2022 05:40:43 +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=KplYZl2a+5FkNkok/6oB5QkRI8JUh5PLuDqsN5bmq0o=; b=I5DoIIjIsb85oL Ebl7/wtzkq8LruaXegaXdQXDosIrclZ+w5fwmwKgqln42YkcVzAJWc4U0iTx/1gRCbbio+U7QgTOx L22c/vv8JwtE9k96Cy9/dD6zOv4YeN60rWuG8I/ZLPNUghrtqyrBtMQgVQhD/Fu6eRphgqdo+uuQH zkVQmIgzqD55GBVB4FcUs6cJiRTGYr5HvAd+DbctfRdcMUjCuMn1F0OlCRia+tCFE4KA9oM2KtnFp YvtlxsSClCL4vHKRO5ncrxTB2HqviYNRV2vut2Bq0zoNrdHcd5csWUAur4yJsxioHGJ9hwAuZMb9J 9zv5ETxM/ndpWnZb1V8w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nPHj1-001XXU-VE; Wed, 02 Mar 2022 05:40:35 +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 1nPHiy-001XW3-G2; Wed, 02 Mar 2022 05:40:33 +0000 X-UUID: 8114d5b53c0f4beeab6bfa7f1a08deb6-20220301 X-UUID: 8114d5b53c0f4beeab6bfa7f1a08deb6-20220301 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 1333270154; Tue, 01 Mar 2022 22:40:28 -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; Tue, 1 Mar 2022 21:32:02 -0800 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; Wed, 2 Mar 2022 13:32:01 +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; Wed, 2 Mar 2022 13:32:00 +0800 From: To: , , , , CC: , , , , , , , , , Xinlei Lee Subject: [PATCH v3,4/6] dt-bindings: pwm: Add compatible for MediaTek MT8192 Date: Wed, 2 Mar 2022 13:31:44 +0800 Message-ID: <1646199106-26879-5-git-send-email-xinlei.lee@mediatek.com> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1646199106-26879-1-git-send-email-xinlei.lee@mediatek.com> References: <1646199106-26879-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-20220301_214032_544552_7CFA4473 X-CRM114-Status: GOOD ( 10.47 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml b/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml index 3a1ba329b7b3..fa1c0b96bb29 100644 --- a/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml +++ b/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml @@ -21,7 +21,9 @@ properties: - mediatek,mt6595-disp-pwm - mediatek,mt8173-disp-pwm - mediatek,mt8183-disp-pwm - + - items: + - const: mediatek,mt8192-disp-pwm + - const: mediatek,mt8183-disp-pwm reg: maxItems: 1 From patchwork Wed Mar 2 05:31:45 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: 12765513 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 F2AD3C433F5 for ; Wed, 2 Mar 2022 05:42:30 +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=Lhl+APfanfqDbuY9X5/qWbOYL27AD3I750DXNJK+iWU=; b=o9sdBoKdGXLdDk nggiiZYYRto6seMZ2WD2PbUZi5dEA0PqgtOBTGlxZIVS9QgFiJ1rhH5GUQa5TVXvguOH4XbdUH0d7 gDEE4AkU7LF+msr9dUnDcoeAuQylI8omCV2W0R9ivQnPIkebhUoRNfvkbKM5EbLdHr1I9A+p1KkF0 1S2FVU6useoDTVgivBSgXvhQy2mm7ZLUMm64plV//KRjouz9Zz6I1KjgeQw9Aup5ot75BgrEY638S odcLt5+iGTURD4cnGbWOO9mQpyg/q5Tm9pJVATKc0IwRpg5L7N0+WZiTBTHzG4ZCx4n67oDLGJUUu o66aiGauMArbnJMozK3A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nPHkn-001Y7s-76; Wed, 02 Mar 2022 05:42:25 +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 1nPHka-001Y3D-GG; Wed, 02 Mar 2022 05:42:13 +0000 X-UUID: d32f7a271b074660b2e9ac97178ccaae-20220301 X-UUID: d32f7a271b074660b2e9ac97178ccaae-20220301 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 1926235805; Tue, 01 Mar 2022 22:42:08 -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; Tue, 1 Mar 2022 21:32:05 -0800 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; Wed, 2 Mar 2022 13:32:03 +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; Wed, 2 Mar 2022 13:32:02 +0800 From: To: , , , , CC: , , , , , , , , , Xinlei Lee Subject: [PATCH v3,5/6] dt-bindings: pwm: Add compatible for MediaTek MT8195 Date: Wed, 2 Mar 2022 13:31:45 +0800 Message-ID: <1646199106-26879-6-git-send-email-xinlei.lee@mediatek.com> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1646199106-26879-1-git-send-email-xinlei.lee@mediatek.com> References: <1646199106-26879-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-20220301_214212_552618_1A9454F8 X-CRM114-Status: UNSURE ( 9.40 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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 | 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 fa1c0b96bb29..3a5d1cfed94d 100644 --- a/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml +++ b/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml @@ -24,6 +24,10 @@ properties: - items: - const: mediatek,mt8192-disp-pwm - const: mediatek,mt8183-disp-pwm + - items: + - const: mediatek,mt8195-disp-pwm + - const: mediatek,mt8183-disp-pwm + reg: maxItems: 1 From patchwork Wed Mar 2 05:31:46 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: 12765512 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 B2C93C433F5 for ; Wed, 2 Mar 2022 05:42:19 +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=Jw+XJ58GDCJoigqYmZYeucHDBIJ8DQWDJ+rtARMQUpc=; b=LXwm2b3jGcjNcE ZY6kr3Jrr0y3IAn36AW3IRnOeWGHxzmL/yZFrLe+Aag/QvWRgrq/HFM/+1N384z+flkm3G3w1iMd9 CGwcZPKL/yyDrHD5ea+Jxk5guGN6VvCLjUdpeDMnnCbYIhnYJ7K6mhI2SmoaSPHgb1MLWdasv/EhH XEMWQarTPe8xSA696ir/M2A3p2DqSIpgmWAocdbNh9fp1NJP/hRDnQJJM0qbSS5hgZ1t00ZFrYAbp vNF4HK+W6mi/yHUVlxSj3exokbV5ekXfvkzHosqLhvl6ATnDo74yFOqXmi2R8kzQN2NlDma+E35Vc VMCrao25aDsS5bDxau1Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nPHkc-001Y44-3l; Wed, 02 Mar 2022 05:42:14 +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 1nPHkZ-001Y2c-Gx; Wed, 02 Mar 2022 05:42:12 +0000 X-UUID: d29111746afa4ca1b6c84ceb6b99f963-20220301 X-UUID: d29111746afa4ca1b6c84ceb6b99f963-20220301 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 607540316; Tue, 01 Mar 2022 22:42:08 -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; Tue, 1 Mar 2022 21:32:06 -0800 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; Wed, 2 Mar 2022 13:32:06 +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; Wed, 2 Mar 2022 13:32:05 +0800 From: To: , , , , CC: , , , , , , , , , Xinlei Lee Subject: [PATCH v3,6/6] dt-bindings: pwm: Add compatible for MediaTek MT8186 Date: Wed, 2 Mar 2022 13:31:46 +0800 Message-ID: <1646199106-26879-7-git-send-email-xinlei.lee@mediatek.com> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1646199106-26879-1-git-send-email-xinlei.lee@mediatek.com> References: <1646199106-26879-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-20220301_214211_579991_94E1063E X-CRM114-Status: UNSURE ( 9.56 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml b/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml index 3a5d1cfed94d..053805846cfe 100644 --- a/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml +++ b/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml @@ -21,6 +21,9 @@ properties: - mediatek,mt6595-disp-pwm - mediatek,mt8173-disp-pwm - mediatek,mt8183-disp-pwm + - items: + - const: mediatek,mt8186-disp-pwm + - const: mediatek,mt8183-disp-pwm - items: - const: mediatek,mt8192-disp-pwm - const: mediatek,mt8183-disp-pwm