From patchwork Wed Apr 12 11:27:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 82390 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp249039vqo; Wed, 12 Apr 2023 04:29:13 -0700 (PDT) X-Google-Smtp-Source: AKy350asE69zMGfc5skCVNt1f5Pf8P3Vu27shsxD3STK9Efkr+pP7+w3aE+WP0C116zIDnTpSWr+ X-Received: by 2002:a05:6402:4302:b0:504:ab52:fab8 with SMTP id m2-20020a056402430200b00504ab52fab8mr2387869edc.10.1681298953542; Wed, 12 Apr 2023 04:29:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681298953; cv=none; d=google.com; s=arc-20160816; b=zlTR/rTr4bHM14KIHpi4VRcabD4RzEViuNJW8LtkZqXyj5wekrquSI/bR8YWRrZGej CaNgTQpfpkwUV0j0vT2QN4f+3nXo8dXr6DNJ71AdtOhnufz4JN7q6yUur4Ut3XvmcI0a 9e8tNHsHgxowsY+TYyI81dl+QgNveQcasP+OxUg4rz26xjpKxtAGdq84kCP0nrf/K4mk V0B7P6rizYBnQNYYrdyIceyxeYKZVtmh0lwvRwW8b5OG/pdmZn8Lh2UFPCrYSfUyQlPf N1Fo0RzS+7Y779jx6ymew+dDfoI+ufAh6W+iga5JRJ2IN1VsyuGxCxgMpoYL+BJJgQj2 hP8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=7zXkqT18Eg4b/vXABxEL1/DyL23gksXOzvi2vBSU+ZY=; b=LS9QJDscjmt+3UiWejPpGwFf04WFA3xv0tq8SvdP0RsHFlQR9YKrTVtZ1tHqbmmCiA 5BJDW/dFKSgxZhTCBkpjr8G4ETSvHc+86zv+aDqH2VPe66ZC6bwIF6KokcsHykZzuoqN A6kAwJYbpczXIkrizN7yCRLLs/CPnYRiMTd850iH4YYOQoi3wIvAGPpLt4R72HHSTaTf Fj6LHLiD5aIMYiZoWl5nFPwdjl0PLdxtQ5N7JzWsfzlnbr30rUiP2Umf/KQxp4gzX0Ag bQrh4ARhw73ziks0Grr+iqYh+rKes093ZHZrPmcEJ0wyN9Nik/2ZEEFqlZZ1Eqqdw2/n 9ZyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=ZODHobO8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f9-20020a05640214c900b005048c3d97d7si9816097edx.249.2023.04.12.04.28.46; Wed, 12 Apr 2023 04:29:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=ZODHobO8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230287AbjDLL2I (ORCPT + 99 others); Wed, 12 Apr 2023 07:28:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230268AbjDLL2D (ORCPT ); Wed, 12 Apr 2023 07:28:03 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E07EF1FEA; Wed, 12 Apr 2023 04:27:47 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 608366603201; Wed, 12 Apr 2023 12:27:45 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681298866; bh=YDQxHn4LMGevVfKU87Wwqa+i9ANnJ1wpzX3mspDDOrs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZODHobO8ZVk/h3S1ggRA+uwI4dbmv2vb89bvbQ+WbellxMWsbILYmGigTUdDwkHbN 7OY8QOUDa4mARCVa2U9MdT9QzW8eOslKE26gYmmCj9NJZ4/hN8k6xHb+ivU3oOFoXp RPiV8ROFdOdUCcWq6BTqsJZV/bP4mOaQOKb7QOl1HOoyRPGDp1fmydKM/4QzoeBiqB iOae4a55AZ3NcZZQA+brruli98t1bc9OhE4aqcRhTyamaHOoDyWWRpN2R9KR8rKYHJ 2H7S/+BPsis44nTeSGB/0n0r4WdBCEbG1fgzBXQOaAjpP/mvvTrgiCGaSEx79acUEN 2AnXTAN3eGfaA== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jassisinghbrar@gmail.com, chunfeng.yun@mediatek.com, vkoul@kernel.org, kishon@kernel.org, thierry.reding@gmail.com, u.kleine-koenig@pengutronix.de, chunkuang.hu@kernel.org, angelogioacchino.delregno@collabora.com, ck.hu@mediatek.com, jitao.shi@mediatek.com, xinlei.lee@mediatek.com, houlong.wei@mediatek.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, linux-pwm@vger.kernel.org, kernel@collabora.com, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH 01/27] dt-bindings: pwm: Add compatible for MediaTek MT6795 Date: Wed, 12 Apr 2023 13:27:13 +0200 Message-Id: <20230412112739.160376-2-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> References: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762969731426966242?= X-GMAIL-MSGID: =?utf-8?q?1762969731426966242?= Add a compatible string for MediaTek Helio X10 MT6795's display PWM block: this is the same as MT8173. Signed-off-by: AngeloGioacchino Del Regno Reviewed-by: Matthias Brugger Acked-by: Uwe Kleine-König Acked-by: Krzysztof Kozlowski --- 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 0088bc8e7c54..153e146df7d4 100644 --- a/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml +++ b/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml @@ -22,7 +22,9 @@ properties: - mediatek,mt8173-disp-pwm - mediatek,mt8183-disp-pwm - items: - - const: mediatek,mt8167-disp-pwm + - enum: + - mediatek,mt6795-disp-pwm + - mediatek,mt8167-disp-pwm - const: mediatek,mt8173-disp-pwm - items: - enum: From patchwork Wed Apr 12 11:27:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 82389 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp249038vqo; Wed, 12 Apr 2023 04:29:13 -0700 (PDT) X-Google-Smtp-Source: AKy350Ytqf11jhHeHbW9JU914RD/oeCQzNl4rzSo3fcrtsA7xEb0jkLZhsEGbnaMZdkeOxy0iYNp X-Received: by 2002:a17:906:a2c3:b0:92f:b290:78c with SMTP id by3-20020a170906a2c300b0092fb290078cmr12688942ejb.21.1681298953531; Wed, 12 Apr 2023 04:29:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681298953; cv=none; d=google.com; s=arc-20160816; b=gNBa6jZ1Rd+Ce5jNJRAy2tpHDXM4XQIyoFeY/kznNDZPw84Tjg7iiXk7imn1gcDa46 CLRVBadDBLbQleCIlN8jXLi/sjOITP2VpilElr1kZnoHwiA4tNOBwegcy7JgQYH+tmAz 9zLONLNgtzKqSmG9GT72doWNZcjfa8/CwKKaKU6ojhLrxrdkGDRfpS8esJCOr6Y2orLy SqqulZqSfUmhH7MBBAI6JX+uYKgbB1/KINH/xdAIXrd8w0uNUjk0OY3IzLpul8rRZnNs L1ki+qx5MylgCc1QwJfhD1GQXWBnwqK8+7pScS2T5exbvbSUZ2RWARvJHlv/aO3Ivqnt F0xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=sD3lBiiLUb06dq6C183mu1Eb+HlNCo2IoGiH8B3Vm6w=; b=RBuaW2M2JfOJgj9bJYNrSIbu8RjsH2MCrV2ufOhqLzKQaIWFEoBCUWmCeEXRPFUl3k D2aZ+pO87moSisMrw/VUlThix67EAfzM2HVuNuRoi+5UyHUAwnBPKrJ5169WfYPcZ9V7 0INByfeNfLbMxrE4S88AX07FrpIZajXvx0VY2mr2J7xeZ/FXvhQ10BqOWS52bnzVNBML n1O9nzG0+dPbN5SQE/XZed2NTO3ioV5nzVnnhfUKNmQJQBbSi13kulhvA5W22dWz81HF 8Lfx0qowzoE0zzJG4DzR9lGdK5uET3yYlA60GWBTj02R9RzqEGvGCmtUf3hxp3of6Vc8 8CyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=TaSKHO3s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ud24-20020a170907c61800b0094a44eda460si8892839ejc.87.2023.04.12.04.28.48; Wed, 12 Apr 2023 04:29:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=TaSKHO3s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230340AbjDLL2M (ORCPT + 99 others); Wed, 12 Apr 2023 07:28:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230224AbjDLL2D (ORCPT ); Wed, 12 Apr 2023 07:28:03 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 809002D40; Wed, 12 Apr 2023 04:27:49 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id D08DA660320D; Wed, 12 Apr 2023 12:27:46 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681298868; bh=NzUsNWSsVvvmJv02n7djBLkN0Zq4SqWAI0O2gjnIL7g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TaSKHO3sqFHwQzFrGRDBpls+rHV/AP954ERZJw6yABDWUD5PIT4SKcKRFKQDqKDqF Cx57kdOJOjloHkvOGcyxZjFZa/CdgAJ9H8BYQ4L6FBhm7kjkcYJj4ToOTQQX/yxLag vc51ZMhp7l2xesHnA98ycICf28mCxFwhY02T9Qx/c4guG59O7y63UxwJ5B2Tc7XTr5 K9BdKBAVQujJ6o/z6dFYkN8P4arc0kpaB3BowYxcjqOiJ5ZbHmVf05YG38M06NytC3 /I9+60MfGHs92i3dGaXq3PgkHgi+hGUExGMNiNtDQwzHJft4thyWZE6LNM9VjPK4lQ zzCWvsYIj8CDw== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jassisinghbrar@gmail.com, chunfeng.yun@mediatek.com, vkoul@kernel.org, kishon@kernel.org, thierry.reding@gmail.com, u.kleine-koenig@pengutronix.de, chunkuang.hu@kernel.org, angelogioacchino.delregno@collabora.com, ck.hu@mediatek.com, jitao.shi@mediatek.com, xinlei.lee@mediatek.com, houlong.wei@mediatek.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, linux-pwm@vger.kernel.org, kernel@collabora.com, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH 02/27] dt-bindings: phy: mediatek,dsi-phy: Add compatible for MT6795 Helio X10 Date: Wed, 12 Apr 2023 13:27:14 +0200 Message-Id: <20230412112739.160376-3-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> References: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762969731697890774?= X-GMAIL-MSGID: =?utf-8?q?1762969731697890774?= Add a compatible string for MediaTek Helio X10 MT6795: this SoC uses the same DSI PHY as MT8173. Signed-off-by: AngeloGioacchino Del Regno Reviewed-by: Matthias Brugger Reviewed-by: Alexandre Mergnat Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/phy/mediatek,dsi-phy.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/mediatek,dsi-phy.yaml b/Documentation/devicetree/bindings/phy/mediatek,dsi-phy.yaml index 26f2b887cfc1..a9f78344efdb 100644 --- a/Documentation/devicetree/bindings/phy/mediatek,dsi-phy.yaml +++ b/Documentation/devicetree/bindings/phy/mediatek,dsi-phy.yaml @@ -24,6 +24,10 @@ properties: - enum: - mediatek,mt7623-mipi-tx - const: mediatek,mt2701-mipi-tx + - items: + - enum: + - mediatek,mt6795-mipi-tx + - const: mediatek,mt8173-mipi-tx - items: - enum: - mediatek,mt8365-mipi-tx From patchwork Wed Apr 12 11:27:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 82419 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp259451vqo; Wed, 12 Apr 2023 04:48:36 -0700 (PDT) X-Google-Smtp-Source: AKy350ZnGPgrC06mjWUq8njxObO8avw8fM3u4La6v+px+qpC8dr/3nsosQr9OtgTydlAjfuf0NZK X-Received: by 2002:a05:6a20:2926:b0:cd:a358:bb7 with SMTP id t38-20020a056a20292600b000cda3580bb7mr16533214pzf.37.1681300116557; Wed, 12 Apr 2023 04:48:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681300116; cv=none; d=google.com; s=arc-20160816; b=KB4hU9/cnxIy1El9HKm4R6Hj4dwSClu60had3bwOhCsEFxpyYvm1qjTCHnklEavSS5 I8Y9ZdcuFoU3BrSinTBBdyrdXRsosqXPGhxNpGVTfIfds0opXar4pmfZTqt0LSGAtVlv A79KADXEJdtBjw5RWYpMNtTj+qjFB6amowFun5xrQCz55d2ljZhTRgydDxGegXPEYiLk VT2wI4XVpT36DRpNiao4CUNAueF/TqzjLHdAo3GUfkPixA2VqHuDd1+0DcDRMKuvDLI1 Lq1JQe2r/8/j/RlzdwzbxHw98xq8ZX92d7BjAnFS7anzGZAS41LFquoP7GTTdyYbrFIf tTDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=rdnYKbf9/+W6WfCaMt9jMOWnB7v+S/jmGr08LRfvZz4=; b=aCyaFpU8q+2kB8SLhQdAouZf/VxCJhHI5RYdj3SX1erZpZ/31K3rYn1hOlNvIHMKtA lh040KecpsJ9VY28ize8U74luOxGgk8bZYcUPjuvGYl862SlZZVNrFBZnFGAEixy5z0/ LeIYUFrEgSdkMDY9/Qwisn32tCpLjSsR6lOSUWVIK8+BqZucr0YXMMxrI5XAfG7cLr0r oYM+BrZMkDw2Gw9JQEOm7VnGJO7JqErnWuXZ5+EtRd3U0A84ItdKDMpNWVFW84LtsodL Yt6DEtfMMrv9E2aYzoUMNN7f9DM3EE8CUNYpdAZOg9xDS+Wc7ISNwW5Ajlz6XvbOL7Q1 2ueQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=DrLbBoxk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j6-20020a654d46000000b005137bf7e2d3si16610201pgt.582.2023.04.12.04.48.24; Wed, 12 Apr 2023 04:48:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=DrLbBoxk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230406AbjDLL2R (ORCPT + 99 others); Wed, 12 Apr 2023 07:28:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230288AbjDLL2D (ORCPT ); Wed, 12 Apr 2023 07:28:03 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DAB262D50; Wed, 12 Apr 2023 04:27:50 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 3F7C06603214; Wed, 12 Apr 2023 12:27:48 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681298869; bh=6Azvcn4i0Hycg0xDnvRheRJ+soYYO+v1kBon9Mg6Dyw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DrLbBoxkdz6ThJrt/c0Qxsir2AKyllHvXERWqJregc/3Ce0deMgfYXYzn62NK5ABR JzwrpTqb0fsOT2izOuJPyv600oPn6JzxZ/OERDoL1n1kByF5T0Tb2uRWQiFIp/vsi8 rmJc00mOMM351G2ENBwfjk8VzYJl6YJ/BIVMY+2BO8ucRR6o/cu7XLQA93DlW9rtQ4 JY4zZ/gXADUViX46yeHWNFn7DyZBn6/c4okYDoSWfvxW+5TY5c7VRgGVdEJ2gvodIq dL+i1U6iTPV0vxz8nhPmo8AxSMRJlehg0mRtWxfuvj5RlEgcfllulJxsdVeKaK8qy0 MpDkSw2kIjE2Q== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jassisinghbrar@gmail.com, chunfeng.yun@mediatek.com, vkoul@kernel.org, kishon@kernel.org, thierry.reding@gmail.com, u.kleine-koenig@pengutronix.de, chunkuang.hu@kernel.org, angelogioacchino.delregno@collabora.com, ck.hu@mediatek.com, jitao.shi@mediatek.com, xinlei.lee@mediatek.com, houlong.wei@mediatek.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, linux-pwm@vger.kernel.org, kernel@collabora.com, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH 03/27] dt-bindings: display: mediatek: dpi: Add compatible for MediaTek MT6795 Date: Wed, 12 Apr 2023 13:27:15 +0200 Message-Id: <20230412112739.160376-4-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> References: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762970951350610976?= X-GMAIL-MSGID: =?utf-8?q?1762970951350610976?= Add a compatible string for the MediaTek Helio X10 MT6795 SoC, using the same parameters as MT8183. Signed-off-by: AngeloGioacchino Del Regno Reviewed-by: Alexandre Mergnat Reviewed-by: Krzysztof Kozlowski --- .../display/mediatek/mediatek,dpi.yaml | 23 +++++++++++-------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml index d976380801e3..803c00f26206 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml @@ -17,15 +17,20 @@ description: | properties: compatible: - enum: - - mediatek,mt2701-dpi - - mediatek,mt7623-dpi - - mediatek,mt8173-dpi - - mediatek,mt8183-dpi - - mediatek,mt8186-dpi - - mediatek,mt8188-dp-intf - - mediatek,mt8192-dpi - - mediatek,mt8195-dp-intf + oneOf: + - enum: + - mediatek,mt2701-dpi + - mediatek,mt7623-dpi + - mediatek,mt8173-dpi + - mediatek,mt8183-dpi + - mediatek,mt8186-dpi + - mediatek,mt8188-dp-intf + - mediatek,mt8192-dpi + - mediatek,mt8195-dp-intf + - items: + - enum: + - mediatek,mt6795-dpi + - const: mediatek,mt8183-dpi reg: maxItems: 1 From patchwork Wed Apr 12 11:27:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 82388 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp249037vqo; Wed, 12 Apr 2023 04:29:13 -0700 (PDT) X-Google-Smtp-Source: AKy350YY30OhNoDfkCI8pQ/OfZBHmfSyhpVU8cHGj2p+FJzJXri6+tUS6K/BSr6v6QtF/7mGnHfG X-Received: by 2002:a17:906:2490:b0:94a:643e:9e26 with SMTP id e16-20020a170906249000b0094a643e9e26mr2727814ejb.14.1681298953528; Wed, 12 Apr 2023 04:29:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681298953; cv=none; d=google.com; s=arc-20160816; b=fDJ0kaGsJyLN6wVLh0qpnycDBVsuVaK83akTNEQAQLjU3G5J+/CKMk0JLdRU+vTOzf p5k0CAoChVuxIm4pSGwuujjer/2l9PrOYVeaeBgMXKyOnkcetQI5vyCPKAKh+rkiD0lz E7WAD1jWvN2nAy+qq1yd9uXPe/hcHU0tJJvX4Tt7+PmAI0Wroovmji5HU80i78Mdw2bC qA2G8rQrPMoAzcDiVBEm5R/yrXLz8bNzzv+iXT6/cmv6AxFfd+/mEoJqIDwh4uhTb9Rp E/EWbroTlcLZdhL4LCMU5vSbYwr8vI+Ul+rE6BWkcvALZxy5nOyql3haMvfokX65brJF Bxsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=bAwG6Y8A5V5loyVewrTbghHb8UJ861fD/n3ZjHNaKfI=; b=km7YwU+MDpsYVpuqTV7bt3IyOIYenxOUz/ElxXoVy361t6CALJsXeeslq1f75PY/6R cQ06zTAyknwUMeEmVO7uRwLNXBbwmQ3AUv/YO4ArhfAX8YG6oAtCIQFHeqYdHDan3L+K UwN/maqlNpSMYUWdXWJzAUDHxXkhQfurV+XRqiPoNpEiAcNNoibrnchAmlH9a9mn9dKv x+cEy+tc7cL0qrEnjwlhMdX8A3Ya53Smbuuenvg1iZxgVn7UMBdv34sga5oeTIz5pAWR EemB62D5OsJudgybqzya7MGCrNcyna5fdAzamz/5j6ERi0Ikew7QkSljbQWdwZJTPGxI qKZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=mxXjiJZ7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j9-20020a170906430900b008d2060ebc6esi14390076ejm.564.2023.04.12.04.28.49; Wed, 12 Apr 2023 04:29:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=mxXjiJZ7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230384AbjDLL2O (ORCPT + 99 others); Wed, 12 Apr 2023 07:28:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230286AbjDLL2D (ORCPT ); Wed, 12 Apr 2023 07:28:03 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1ABF22D55; Wed, 12 Apr 2023 04:27:52 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id A92A8660321B; Wed, 12 Apr 2023 12:27:49 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681298871; bh=ldbfDeNpQ5/zM9eHSB8JeIaBEL0OQKQfjXn1SCCi2DU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mxXjiJZ7p1YY1OBLjncsrhMXEP05TZ0vQDDw0eNavUZTqfIUSBJNLAPI/rIf/1mBq fW8TNlmIwFwmGQfnFIQf05/YA2CPZVCyesNm6ws6hfc0FknxVQR6pzmR9dot980XC4 pWZ6jir2AzEAzQ9AHpJLlrT0sXC/TCV9e9WLeWaKkQhhWaCvE7xD6KueZe4vjo25HE /01O4v6h5nBb8/KUU8c/v8uqAY3B1YccUB4i8RTLhfvuE87uV6ei8Q1lZL4t2vYIYx yB/4gBkWRSWVVX1eelHbULStSTgwINvWXqhXuWzIK3HPlsjrHXwvNzvRz0la2VFOc9 bLAKwfRYagZeA== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jassisinghbrar@gmail.com, chunfeng.yun@mediatek.com, vkoul@kernel.org, kishon@kernel.org, thierry.reding@gmail.com, u.kleine-koenig@pengutronix.de, chunkuang.hu@kernel.org, angelogioacchino.delregno@collabora.com, ck.hu@mediatek.com, jitao.shi@mediatek.com, xinlei.lee@mediatek.com, houlong.wei@mediatek.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, linux-pwm@vger.kernel.org, kernel@collabora.com, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH 04/27] dt-bindings: display: mediatek: aal: Add compatible for MediaTek MT6795 Date: Wed, 12 Apr 2023 13:27:16 +0200 Message-Id: <20230412112739.160376-5-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> References: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762969731652744996?= X-GMAIL-MSGID: =?utf-8?q?1762969731652744996?= Add a compatible string for MediaTek Helio X10 MT6795: similarly to MT8173, this SoC has the gamma LUT registers in DISP_AAL. Signed-off-by: AngeloGioacchino Del Regno Reviewed-by: Matthias Brugger Reviewed-by: Alexandre Mergnat Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/display/mediatek/mediatek,aal.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,aal.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,aal.yaml index 92741486c24d..7fd42c8fdc32 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,aal.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,aal.yaml @@ -27,6 +27,7 @@ properties: - items: - enum: - mediatek,mt2712-disp-aal + - mediatek,mt6795-disp-aal - const: mediatek,mt8173-disp-aal - items: - enum: From patchwork Wed Apr 12 11:27:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 82392 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp249133vqo; Wed, 12 Apr 2023 04:29:27 -0700 (PDT) X-Google-Smtp-Source: AKy350ardzHls4GVkREwYCjn+u3iEt61PyxvNo++G7Xf1QAxX6tVutCVG31AUzKSydy8FG4N0Atk X-Received: by 2002:a17:906:6417:b0:926:fce:c080 with SMTP id d23-20020a170906641700b009260fcec080mr5302791ejm.17.1681298967395; Wed, 12 Apr 2023 04:29:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681298967; cv=none; d=google.com; s=arc-20160816; b=EgL/4TmmLCrK0u25hi5XB4JtqJuSiOxLmixqsV6Gor/gEmKy7SSudgNBgeC/vkOQiT 7nZ7Eq3m9Mxh+Cw6fX00ag2tuMqZnw/6vx1DJQpxkyMVUgcH+yxrnE9Ak8ecMyi1kD/e N9Gr1oxOSBB1E7+RYz5A/keM/A6TBcfr2o4ZCaiT6ANDr500uBAEvEtjNN+5OJR5rMMa wBKz5iomLxGXoebenw9xAknOgPWVOh+i0QlP6GKtP+SwFwbfsnjdFWuJ0VraXbCct8xL idglwlCc4Eucl/jt7cmA0olt9hBHiomuhAWxeMjGwGDiFUtqeppCIHj7x+5x/baSPXwC IArA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=S7HAs5TM0IybNBrui8AsECSwvctjmSdRLbOLlwXAZJE=; b=hXmxEBpLaRQr5iD6/zCXWzfhk7KsetwG+2i7HgubKuKLHUje2GZB8TVVKfW8sdgzbG kWtMl9XGTStw/1RWNGniWr/jVUymY4j4q+ZSNuOvTqDLjCSgxMB8Y4lkt24IMpcVoOvk rXM1Dh8KSJXYOPyGTAR+LlCpExcyiYINS+mhjJQmO7j/mseQ1Hfqrgvm0C86MIs6aSq4 YyDFjsbA1yBzweMcirP+WTvC+fCmvMK5msfX0A28Jw19sQMLpWz+Fup046gK7iWueKQL ub7sl4ZWBXBe0rS6dllFaQsbqH4bl0cDWPOOowPYEk+mYjAqWFgP18yr2Jxo4EBSpnYK FHJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=UOZnOw2J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y21-20020a170906915500b0094bcb53bc1dsi903989ejw.1048.2023.04.12.04.29.02; Wed, 12 Apr 2023 04:29:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=UOZnOw2J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231207AbjDLL2X (ORCPT + 99 others); Wed, 12 Apr 2023 07:28:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230306AbjDLL2J (ORCPT ); Wed, 12 Apr 2023 07:28:09 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F2FE449C7; Wed, 12 Apr 2023 04:28:03 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 231636603213; Wed, 12 Apr 2023 12:27:51 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681298872; bh=lu2YqjszT6GAQfheSYtmuPDjTI03Qls3ZRurM5/bzdk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UOZnOw2J87HqYSwK3AmmugMo0zxjvfBq7HlkaMBwgOEibqfmGDylJYzvoabSKOCFm Gpoq95VCcoNzMiyLhc7EfhZG3PMNDwkHi/tcs3brHC6NcLq51IzjMrFIEH32AQERie aAbFzQA2Gbw6p1jjT5A8naU3ZQT5iGBGvMXf4kSSMwFrp5KWaLzDTPMtcnEoFj2jJ4 gX2agOSfKZpLT5d7dueZvC46+auOanKQOKTidisZWyYDhZvdaD+jVTKlYLJsAzIf9O 3J2Fy7OkjNMDm3rNwSbwUDncpPbyhmbdg67VZglnh/xgdtnIn5QfrMFV3n+IPvWmeo yIpS2GztN7+0g== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jassisinghbrar@gmail.com, chunfeng.yun@mediatek.com, vkoul@kernel.org, kishon@kernel.org, thierry.reding@gmail.com, u.kleine-koenig@pengutronix.de, chunkuang.hu@kernel.org, angelogioacchino.delregno@collabora.com, ck.hu@mediatek.com, jitao.shi@mediatek.com, xinlei.lee@mediatek.com, houlong.wei@mediatek.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, linux-pwm@vger.kernel.org, kernel@collabora.com, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH 05/27] dt-bindings: display: mediatek: dsi: Add compatible for MediaTek MT6795 Date: Wed, 12 Apr 2023 13:27:17 +0200 Message-Id: <20230412112739.160376-6-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> References: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762969745895798948?= X-GMAIL-MSGID: =?utf-8?q?1762969745895798948?= Add a compatible string for MediaTek Helio X10 MT6795, using the same DSI block as MT8173. Signed-off-by: AngeloGioacchino Del Regno Reviewed-by: Krzysztof Kozlowski --- .../display/mediatek/mediatek,dsi.yaml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,dsi.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,dsi.yaml index 4707b60238b0..12441b937684 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,dsi.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,dsi.yaml @@ -22,13 +22,18 @@ allOf: properties: compatible: - enum: - - mediatek,mt2701-dsi - - mediatek,mt7623-dsi - - mediatek,mt8167-dsi - - mediatek,mt8173-dsi - - mediatek,mt8183-dsi - - mediatek,mt8186-dsi + oneOf: + - enum: + - mediatek,mt2701-dsi + - mediatek,mt7623-dsi + - mediatek,mt8167-dsi + - mediatek,mt8173-dsi + - mediatek,mt8183-dsi + - mediatek,mt8186-dsi + - items: + - enum: + - mediatek,mt6795-dsi + - const: mediatek,mt8173-dsi reg: maxItems: 1 From patchwork Wed Apr 12 11:27:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 82391 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp249087vqo; Wed, 12 Apr 2023 04:29:20 -0700 (PDT) X-Google-Smtp-Source: AKy350ZbDW8NUxDtfA4ww18Kx3TsRe+4X41TNo4fRSLCNwx4hfHXWAu56LDE7QFs3ywg4mYJZ7Th X-Received: by 2002:a05:6402:345b:b0:504:b64d:759c with SMTP id l27-20020a056402345b00b00504b64d759cmr6059927edc.35.1681298960355; Wed, 12 Apr 2023 04:29:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681298960; cv=none; d=google.com; s=arc-20160816; b=ZB9u9dYISl2VHmvC0yvjA8mPqV1iWChNVIPH7p90ukwx79sP2gpcSu0uVXNIKhVlmz uuYsPrOLL/Ij6v953THfcCTxGT0XmbFsYtuvyToDP7MO+ISCMdOjNJd38zMCYnQsGhqw aO66HAIrwPur/YobT/lZNIH56c3Wxj3/vaCzKl9txgN6GGR1WjqXC1fIbbqW+yPKM85g bD9il/dOqqX5wb2YQphipouZ70Ln98VZnQGmQqYri7Xg1FJE+89hrG8+G0KTiMkMQ0fX dLIwRH/gSD797nSfcy6cfg6Ce7tpotq8ENDv7mR83oez3ndqd2V9nUtbZl4Kau9Z7FxN 9noA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Kzu3BJu85DdRorcfPvHp6QVNc78eN6a+tOVqCn2SrXo=; b=YJhfZ6lLktM9qAO8iMYLYuqWWE6jPCy+McXyLbLUb6aYR7K8dqf+W5oBchuvhLB9ZU H0SwGShT4xcDiXEX86kb/CIqitkll2NmWd1kKWKHSL9lRw08lwti03shxyjWr0QPC+2N yKSBhQKXweYsY23GifxLWpc5MikStlc4vwwyj1+aLQIi4qDM7fV7t5vRESaoV0KJu4K6 xbJJsVVx9XQFk3G0/gRIHY29sp1PlPyGlZ6kDKLKrUoWwyPsic3iw6ITzAmXF9/v0Mv9 vIYZ95SBe/0ijJs+mY68IVqqQsJl3Y9MRWKEXcQWyKp5Hs0Uxx1/0KspkwXE3NZLDMsh b5wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=HlN3auaD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n14-20020aa7db4e000000b005055fd6ce8fsi148284edt.372.2023.04.12.04.28.55; Wed, 12 Apr 2023 04:29:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=HlN3auaD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230502AbjDLL2U (ORCPT + 99 others); Wed, 12 Apr 2023 07:28:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230365AbjDLL2I (ORCPT ); Wed, 12 Apr 2023 07:28:08 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F20A21FEA; Wed, 12 Apr 2023 04:28:03 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 826DF6603215; Wed, 12 Apr 2023 12:27:52 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681298873; bh=j/AmnqcUgZwbS3Y0n+C2WF0SZPlM1NGbL/O9iXx8hnw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HlN3auaDUklNJexPh4RU+RZt4NmSau6riHAu2X9cJ0vHgdkteMsTLQkCd9wLUgkdB QFZDMVNF/yPletXBBn4J2hNmk1LIsQ4RGXDxEGeR3SoogP1yWD3MbEbyyW1ZPA5CwL 88C4fziaBdzDAaGiZBTJ628cYGM6x+znf4+erLt8jx4XDCENYYdY1XzVBDc8+Pxy0c K/D9UJMsdVL367+q7WJS6v/ezb2Y6ZJKwa6NQa1TbkCtAB7njQQ+/9WCho8l/J5yQw CUTWqbhHv2mTTNixtpQ/TtbXh2cRez6F23yv6CPpw8NU8vB2AnOFzIf9h6rhf+tJLB ZZtVelP8+L7Wg== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jassisinghbrar@gmail.com, chunfeng.yun@mediatek.com, vkoul@kernel.org, kishon@kernel.org, thierry.reding@gmail.com, u.kleine-koenig@pengutronix.de, chunkuang.hu@kernel.org, angelogioacchino.delregno@collabora.com, ck.hu@mediatek.com, jitao.shi@mediatek.com, xinlei.lee@mediatek.com, houlong.wei@mediatek.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, linux-pwm@vger.kernel.org, kernel@collabora.com, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH 06/27] dt-bindings: display: mediatek: ovl: Add compatible for MediaTek MT6795 Date: Wed, 12 Apr 2023 13:27:18 +0200 Message-Id: <20230412112739.160376-7-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> References: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762969738465608904?= X-GMAIL-MSGID: =?utf-8?q?1762969738465608904?= Add a compatible string for MediaTek Helio X10 MT6795's OVL block: this is the same as MT8173. Signed-off-by: AngeloGioacchino Del Regno Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/display/mediatek/mediatek,ovl.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,ovl.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,ovl.yaml index 065e526f950e..7671c01dabdd 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,ovl.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,ovl.yaml @@ -34,6 +34,10 @@ properties: - mediatek,mt7623-disp-ovl - mediatek,mt2712-disp-ovl - const: mediatek,mt2701-disp-ovl + - items: + - enum: + - mediatek,mt6795-disp-ovl + - const: mediatek,mt8173-disp-ovl - items: - enum: - mediatek,mt8188-disp-ovl From patchwork Wed Apr 12 11:27:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 82395 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp251643vqo; Wed, 12 Apr 2023 04:33:34 -0700 (PDT) X-Google-Smtp-Source: AKy350aIsMg5e5m8T891UgqYVDIla8nUUMC04Z/IVatBePJyX5mk4whM+I8J+/y0U0ffI6rDMkyz X-Received: by 2002:a05:6a20:4c20:b0:db:22cc:a6f1 with SMTP id fm32-20020a056a204c2000b000db22cca6f1mr5683463pzb.34.1681299214424; Wed, 12 Apr 2023 04:33:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681299214; cv=none; d=google.com; s=arc-20160816; b=aDRVTBqzcjg6SlEhHHyudAftbtOILktbIMNx6RtD8z2bVMOKr+qELZpPra4LwWpymc xps7gFKBlBDs913Iua2AEvjM9gJUwKGfu2y8wxOwClRmi/vAezC8/X/R7QIJUti20+e8 Z25C70UZpoHInHq3mzPBnF7u7zA1AtvtJLG9M7Xe3rXs3uVcqJ+IFiB9E3Q2ELdcO63u JT1skWfSwaK2mFOlqU3WcwFn9El+SfdVJAZjnqYNU/YpWdtWYxV1garVr+B+aeWyNtkG orX7sUCk1Kqb+lnEQcFgABCjJ3P5dTjZx6xq5b3HTSio8dlE4VwjZlw1FUT2Cckq3glL 8w3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=vO/UmvLkCj9umjN0OSo64LG0XBWRmEZXiNTOZ2Vrsps=; b=u2rxMjVLNrComjCs9FyLad+fMRcU5J0L5K936783iYFfknblCqQwRZR6EAHtG6/bqC 93TsOMCFxAKxaqv9zl+Afxf6qKYeky2Atcgh/Y8Abchst6YsIJt4gNHauWGWNVXeYz// UNx/NuIIZ4oBCKCofovYeI5s0SrNEfxvyteOdwWs99lU4Lh7zZ0MNpSUopndvqimD2KH J4GzTnyDBW/pk3jf9CILPOC+SiQJaaZCVS6xofs2c/bk1yg+chkSMfV0kxIuouAx7aXK iNC62SNSPZYqxNqPZeyrhsTlb5TivOp6gfAcxJwcO9AAIaxu0Jp+bPuiv0l5IbuYF4sr /STw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=d76OL4b4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v187-20020a632fc4000000b004fae5f0895dsi15814753pgv.45.2023.04.12.04.33.22; Wed, 12 Apr 2023 04:33:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=d76OL4b4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231367AbjDLL2a (ORCPT + 99 others); Wed, 12 Apr 2023 07:28:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56230 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230374AbjDLL2K (ORCPT ); Wed, 12 Apr 2023 07:28:10 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 229345241; Wed, 12 Apr 2023 04:28:04 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id F2C786603236; Wed, 12 Apr 2023 12:27:53 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681298875; bh=x/at//afCB0j0N1gb1tTAezuut76wMigos38TLiuLr8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=d76OL4b4GBYmBtFLGa9qb42sqADv1D7L1HaBnbteGBcDmhmFUDAs4Iw+ANveie0o7 EgVkW4ygwL5AM/quWGLZWh5SGotmbz2etEJ87MeZRfNnNCOpgyA2nbVjyk82ruHq7W +e83r2LiWZKmlp9ucXvq1n7JyY+hUEzDgRU3Hsw4/Ws01AnXZzAR90xymFHGLFJX5O Y6lETcTYKTIrAaFuJR7a1172uyev0QyKJepzNEhP3mHfuacyv8mhFY2uy42fkNq3fx HXeEFj6Xv6yarb06T4l99Ml4k9oa3tT2/yNlBpDcMSXY8uLBbpKA62Te36sD6EHaVW cXZ7Q1EMgAMyQ== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jassisinghbrar@gmail.com, chunfeng.yun@mediatek.com, vkoul@kernel.org, kishon@kernel.org, thierry.reding@gmail.com, u.kleine-koenig@pengutronix.de, chunkuang.hu@kernel.org, angelogioacchino.delregno@collabora.com, ck.hu@mediatek.com, jitao.shi@mediatek.com, xinlei.lee@mediatek.com, houlong.wei@mediatek.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, linux-pwm@vger.kernel.org, kernel@collabora.com, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH 07/27] dt-bindings: display: mediatek: rdma: Add compatible for MediaTek MT6795 Date: Wed, 12 Apr 2023 13:27:19 +0200 Message-Id: <20230412112739.160376-8-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> References: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762970005411043704?= X-GMAIL-MSGID: =?utf-8?q?1762970005411043704?= Add a compatible string for MediaTek Helio X10 MT6795's RDMA block: this is the same as MT8173. Signed-off-by: AngeloGioacchino Del Regno Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/display/mediatek/mediatek,rdma.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,rdma.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,rdma.yaml index 3ade2ece3fed..2eb99d2dfbdc 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,rdma.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,rdma.yaml @@ -40,6 +40,10 @@ properties: - mediatek,mt7623-disp-rdma - mediatek,mt2712-disp-rdma - const: mediatek,mt2701-disp-rdma + - items: + - enum: + - mediatek,mt6795-disp-rdma + - const: mediatek,mt8173-disp-rdma - items: - enum: - mediatek,mt8186-disp-rdma From patchwork Wed Apr 12 11:27:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 82393 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp249260vqo; Wed, 12 Apr 2023 04:29:40 -0700 (PDT) X-Google-Smtp-Source: AKy350ZFNO70tJ4+dTqXZaMO18S0Zt2RSB5P4jJgiVN98spUThpxG8LDDKzXdq5mOvvxLUxMfEKz X-Received: by 2002:aa7:cd50:0:b0:4fc:709f:7abd with SMTP id v16-20020aa7cd50000000b004fc709f7abdmr17028780edw.2.1681298979959; Wed, 12 Apr 2023 04:29:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681298979; cv=none; d=google.com; s=arc-20160816; b=TEXIT2NxdmDJMk+hKTH6CGlrzw5BdA+iw20tvoiOC93tx4kp3M88WbzHoTRjuBNwSL rTG9+BlUlPyr6ikjpv33/yqz2Y7vIBbQNOhvoOC1047qpFVUrDmwKJMsjxplo/oNc3UY 9L33Rtz2MA8gZpwr+wOC3hy0FlKiBofXu1E3f1hXElhVAfSBqL1rslg+2vNAT/6C4cpJ 9flqrMQWMy6IrWYfE+3BPKe8GGRz1JwytSRSAPXBdre8Bl5U9mOr1sb9fHNnMCJMG79N 3ysj5Dx3UH0lF7PxZIboqhfx/YAm9YX5xwib39od4cbtx9aR3pZAJ5UzvvBNybSnEa3u fEUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=pzNpctL5a8xSiPeLZ4o7i2nk5E/pjw8R22xAx+u5ciU=; b=NOrwS4F1f43sn/Df0JAeNAxFsNRQcaD8HfuNXi0yYLGDCxH/w0en704rsuAjfaDBps ZMsiyYfzlYtJLZfSbW5pf+rC6G8MNzI6RwUI+Aen14d1ZZNyPEe3whOHGbWVPvTJQCU0 RW/0k/cZqyJMOJVOiABMU4Og5ftRzh20Q8b4zzMSl8xyJWRMO6NPfyCEW38cGM85ooEV 0vgvV9NpuGTOsV/Gy4m3z3+SG/1PEDyrXH2PmZMfEsNI6cgZOeGQ527CSCvKEMm+Rl1m WyEQlZ7X9JOxy9oiWTu4t7QSa+9aUPE163ITgwPWsFRJlNxcotjKp0S1APdB991gbpP3 tpiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=liKeWPdn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i15-20020aa7c70f000000b005021cd581a0si1768547edq.402.2023.04.12.04.29.07; Wed, 12 Apr 2023 04:29:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=liKeWPdn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230243AbjDLL21 (ORCPT + 99 others); Wed, 12 Apr 2023 07:28:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230370AbjDLL2K (ORCPT ); Wed, 12 Apr 2023 07:28:10 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21F634C2E; Wed, 12 Apr 2023 04:28:04 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 626796603246; Wed, 12 Apr 2023 12:27:55 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681298876; bh=/nr515MQrSV6wPJ0nOqHA4/ts+hd9gZh930X4zNFcK0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=liKeWPdnCzkgOpOcdSoox+hQIFk3KrNnhAlYX5GaRDjE/U1nsApu8XhVgG6ZEA946 61WYHCLpok3pWq7lw/IEHoe8xUBC/UO6IYOEQQrxf1gixrZxoe/pmgZArwDKsOPo1b CLbjjH5Sf2qpxU+zc9V5wW7vLRiLct+bey6Kh/s+IF/q0oRb8jf1oFPod+hanX1hMs FgaH5hEy5I/I2vPMk1v4Xzo3O/zfVcQGSJp596c50b5GgrJKIrJKpPIvuri6u8YM/1 u5NW3fp1Tb+QdD0Y4p+04baBqq2k7Dq8TMZe2AgrG9+yrS9LIFDPH6/9hHs6lUm0w9 49u1/Jj6dfJNw== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jassisinghbrar@gmail.com, chunfeng.yun@mediatek.com, vkoul@kernel.org, kishon@kernel.org, thierry.reding@gmail.com, u.kleine-koenig@pengutronix.de, chunkuang.hu@kernel.org, angelogioacchino.delregno@collabora.com, ck.hu@mediatek.com, jitao.shi@mediatek.com, xinlei.lee@mediatek.com, houlong.wei@mediatek.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, linux-pwm@vger.kernel.org, kernel@collabora.com, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH 08/27] dt-bindings: display: mediatek: wdma: Add compatible for MediaTek MT6795 Date: Wed, 12 Apr 2023 13:27:20 +0200 Message-Id: <20230412112739.160376-9-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> References: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762969759371935634?= X-GMAIL-MSGID: =?utf-8?q?1762969759371935634?= Add a compatible string for MediaTek Helio X10 MT6795's WDMA block: this is the same as MT8173. Signed-off-by: AngeloGioacchino Del Regno Reviewed-by: Matthias Brugger Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/display/mediatek/mediatek,wdma.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,wdma.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,wdma.yaml index 7d7cc1ab526b..1a19b3ef036f 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,wdma.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,wdma.yaml @@ -23,6 +23,9 @@ properties: oneOf: - items: - const: mediatek,mt8173-disp-wdma + - items: + - const: mediatek,mt6795-disp-wdma + - const: mediatek,mt8173-disp-wdma reg: maxItems: 1 From patchwork Wed Apr 12 11:27:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 82408 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp256838vqo; Wed, 12 Apr 2023 04:43:30 -0700 (PDT) X-Google-Smtp-Source: AKy350Ygcn38U5b+kFaNmj0stsRXZVf6s7jwEcTu6DGMiBrGaPrlkIkOPEM+OAusrZvngtYXQwCu X-Received: by 2002:a05:6402:556:b0:4fd:23c9:11ed with SMTP id i22-20020a056402055600b004fd23c911edmr13918326edx.17.1681299810582; Wed, 12 Apr 2023 04:43:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681299810; cv=none; d=google.com; s=arc-20160816; b=sYwezF9IOWmtfCA0CsxsWaRADvjNKEIRk+XZoIeVmPOE3QX2t33CzEui+JBmtubZ4v j5eXPPO9zm5DCBCF0vyu8vz0mMLFKE1FacSHp0hboP1Ao32TzXBpzaLnrrnOJBws2dzZ X/GCWGB2x+0Ja8wzNbgdaxRXzli/5coP50WhCIsC1ofZnUFCPGCiLHlrd1rNyClFIqYq KQMsLTPPUMVBGQTybldBe2DoufIZZN2iqmEH3Sx43++YYwMWILQ5HyGpbem2DmP8gLOz 99UGshqXQc3z5I/Qpr3BUzbvKkibloQZwpdEAJbl2FeyS79iwo8e9IpXdvcZYmm1JAIY oKvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=IXFcdUeBorFtmV1J0jnKkSs0ztss48xovDNWyoWayGY=; b=tie/vP/4LUqQJqPA1bsEGIxzZE3TFODBv74LL4ogUav2sFi+9zjfrEBjKRPeF85r5+ SpWekX1ID1nuN4g47sDS5/YGwXRzAj/8LBQdHtPry4lo13A7dj47rjyG+naCzRmq0mwf OWnV81g1oOuPQClpzXLg5Mm1ql2xTwjen6v0Q+SJTESNDv77f+S48FqaU+KSUdII7Ty0 SkrmURIxr2vmr64RSkt4+ruTGkPIS2I6n+sKjJVbdDGgSnD/EvrLj6pIrmIlnnp6gAr7 vdDuG1tzQGGcFzLob0SJ6mJbEqM0YVmwMBHFADDB01RTjX1IzCa1BhMR+r2fbPBZhuwV 6hGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=en1fQNlp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e25-20020a056402089900b0050491d20543si8602543edy.16.2023.04.12.04.43.06; Wed, 12 Apr 2023 04:43:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=en1fQNlp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231400AbjDLL2i (ORCPT + 99 others); Wed, 12 Apr 2023 07:28:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230383AbjDLL2O (ORCPT ); Wed, 12 Apr 2023 07:28:14 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73F0B2D40; Wed, 12 Apr 2023 04:28:04 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id BD5396603222; Wed, 12 Apr 2023 12:27:56 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681298878; bh=xWx6EegFN/Cbl8Z4PW24l4hQjXItZf81rLKoJwUO+Qo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=en1fQNlpo7h26/3IGRfMpiL0JCdY+sdr34CvR3a22Mg5ATikZObWikLJOC5tP/Zq8 yeNSzjV2lluyQoldlcc351dLO/sfJIWdfEtvAmFU/daLTEr18dweZIbLx0uyyEBD0d VI9oB28mqgxMHs6Erw1BBiXpgRJjHV7j0WrfaGcaGhalGxcCqtEseHI4F/XQpcq9Oc zyAh6aIfUVyaaTH2A8HCzS8Kyt9Kx3Yxx0LMqZ2Hb1X+lD1tOJRnF79Z4zdEOGxV3r 4BP5lZkpcjNQcHoSt2Cj0D5weFNsgCx7Q8y4+lRBRubKn3Y2Q21jHLcQVWe/sCt7nZ b2pQWmeXfT2AA== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jassisinghbrar@gmail.com, chunfeng.yun@mediatek.com, vkoul@kernel.org, kishon@kernel.org, thierry.reding@gmail.com, u.kleine-koenig@pengutronix.de, chunkuang.hu@kernel.org, angelogioacchino.delregno@collabora.com, ck.hu@mediatek.com, jitao.shi@mediatek.com, xinlei.lee@mediatek.com, houlong.wei@mediatek.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, linux-pwm@vger.kernel.org, kernel@collabora.com, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH 09/27] dt-bindings: display: mediatek: color: Add compatible for MediaTek MT6795 Date: Wed, 12 Apr 2023 13:27:21 +0200 Message-Id: <20230412112739.160376-10-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> References: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762970630125451762?= X-GMAIL-MSGID: =?utf-8?q?1762970630125451762?= Add a compatible string for MediaTek Helio X10 MT6795's COLOR block: this is the same as MT8173. Signed-off-by: AngeloGioacchino Del Regno Reviewed-by: Matthias Brugger Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/display/mediatek/mediatek,color.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,color.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,color.yaml index 62306c88f485..449b37c7560f 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,color.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,color.yaml @@ -35,6 +35,7 @@ properties: - const: mediatek,mt2701-disp-color - items: - enum: + - mediatek,mt6795-disp-color - mediatek,mt8183-disp-color - mediatek,mt8186-disp-color - mediatek,mt8188-disp-color From patchwork Wed Apr 12 11:27:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 82415 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp259056vqo; Wed, 12 Apr 2023 04:47:50 -0700 (PDT) X-Google-Smtp-Source: AKy350btRa2Wv3dYv6shN+TTi/d+vScZuqyXNpLD4wxKtaKmbpnFP2i77hRGkBOG7crnzgKZsNu9 X-Received: by 2002:a05:6a20:3427:b0:db:c54a:bf53 with SMTP id i39-20020a056a20342700b000dbc54abf53mr5291761pzd.7.1681300070278; Wed, 12 Apr 2023 04:47:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681300070; cv=none; d=google.com; s=arc-20160816; b=XKoWt87szMllHu7NDMc2mrb7E/kRw3kGNmw8439Knxmn4ad51IXACBZirdhsI30n3/ zPeZsfScib024sbPTlTp0o47+9mczO5q7elRJ86FY27NKOCFGeeTTu548EiVnwq0qUGd 9JKbYD1TAXCAhMQARWEgz9pRttZA+YG+LnaTv6mQeR4LV8TMSljHzcnIhlVqhf84KYSS s7/UAAdZO9ytMQSYqLIGSVK3w+VN3o7Yajyj3bGN4xXfGi7FJhRpmdQ8clr7NOAp/PCR PnEZzjbfZiFlyVlzqGn1Cb/WaMSSbnJ3c81r+bsFysmZ9t0Ho2xmgQ0gZ8SGtRw4FEOO adFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=RDY6eRVwnK+me8rcDMz7ZCd5OLvkVoQDZj1SrUCMdNI=; b=ZAfV7C809sQDpKDhp0Zivt1sXMbAAneD87v9AcGApIsWEBjQBf90PQCg4p1lDakwXN 4tCRY/i6uf07tnUcXYj7ATX3ARO1SqW9XAVhSg6+JmUymyWvNHl6S74JqFdT0r0wb/ld kzthGg3nMfTmOIFJ5padtwdnPOKWMns5zUt01je93BcAqAyxlu/w7s1CHrRo1mnfjWGi cgv9qFbDWJv2UR9psy4SGqfDxHN6OO8RGO9VOC0DAk7Ty5NTobz7o+4kyFE39vE0h4cg oRuOb231CbZaESPnpNotu+ZiyoF6ag0PZ/y1/qqKOCG8tQSCil2ylEugrjphFgSURwis on7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=ZqchzHTr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z3-20020aa79583000000b0063806e9892fsi7607378pfj.243.2023.04.12.04.47.37; Wed, 12 Apr 2023 04:47:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=ZqchzHTr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231390AbjDLL2e (ORCPT + 99 others); Wed, 12 Apr 2023 07:28:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230373AbjDLL2K (ORCPT ); Wed, 12 Apr 2023 07:28:10 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 507BA59D3; Wed, 12 Apr 2023 04:28:04 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 2CEBB660320E; Wed, 12 Apr 2023 12:27:58 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681298879; bh=7rZitvRQVOG3LtVlh2pg7pj+YeXMzPdPvImLoCRUT80=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZqchzHTr1PZSfCK9PeJ3tYn2tZ1fzdRS2ib535aG+RDtPJF9zAqcDKd9ABv8VifGc SKbF/PbuwGGzLCCrn7XZZeWelHPfneR2Q175nUandaTe6WicOxf7VIPFfK4aUlPKgK uJ78UxmiRfEmRhhQwnHRcQCOZ118Cg8MKv9NGh0IzEq6JkqcUfT45m4XX4hizAoFRB dE0aYkqTyFY0QqTag7fCayslQEdDnznygbcW4tj6kgS7c6xaOPrzHxRKBQAIRXcLhy RhighPeA/dqQ76ZfwzwFOkE7QFlcgQ8bGiXTFi5HyUizvw4nTwNbKe5AoLFQrXldBn d8hcGXviMB/7w== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jassisinghbrar@gmail.com, chunfeng.yun@mediatek.com, vkoul@kernel.org, kishon@kernel.org, thierry.reding@gmail.com, u.kleine-koenig@pengutronix.de, chunkuang.hu@kernel.org, angelogioacchino.delregno@collabora.com, ck.hu@mediatek.com, jitao.shi@mediatek.com, xinlei.lee@mediatek.com, houlong.wei@mediatek.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, linux-pwm@vger.kernel.org, kernel@collabora.com, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH 10/27] dt-bindings: display: mediatek: gamma: Add compatible for MediaTek MT6795 Date: Wed, 12 Apr 2023 13:27:22 +0200 Message-Id: <20230412112739.160376-11-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> References: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762970902575093540?= X-GMAIL-MSGID: =?utf-8?q?1762970902575093540?= Add a compatible string for MediaTek Helio X10 MT6795's GAMMA block: this is the same as MT8173. Signed-off-by: AngeloGioacchino Del Regno Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/display/mediatek/mediatek,gamma.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml index a5c6a91fac71..e07bce01ebdc 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml @@ -25,6 +25,10 @@ properties: - const: mediatek,mt8173-disp-gamma - items: - const: mediatek,mt8183-disp-gamma + - items: + - enum: + - mediatek,mt6795-disp-gamma + - const: mediatek,mt8173-disp-gamma - items: - enum: - mediatek,mt8186-disp-gamma From patchwork Wed Apr 12 11:27:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 82409 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp256841vqo; Wed, 12 Apr 2023 04:43:31 -0700 (PDT) X-Google-Smtp-Source: AKy350ZSrf8cSg9WRpX0HB9UxExwT3o3V6XS5tAYydKSzhEOCmwXbdtpZ/LD+UBQ/I4+UVsMSaH4 X-Received: by 2002:aa7:c99a:0:b0:501:d43e:d1dd with SMTP id c26-20020aa7c99a000000b00501d43ed1ddmr1798902edt.33.1681299811091; Wed, 12 Apr 2023 04:43:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681299811; cv=none; d=google.com; s=arc-20160816; b=ygGiVhTd0WS7rG07EDYJc2BaJhfjjMkdUyH16t6XXYrOCZKdoZ8Ku4BgXcT75L0GvS X5FAVtVhIJCO/h0oIB6e23ftZHcsKKDN/ltSql9S2lOq4UcgKtuHWrXW9TGBggkalDyE 9Y6zDXrOcHoi3jvver8q9hYSRBcrozXa0VqNiAqXpLIrbxzPDphdHfYNwpvRYQbEe5N5 nrM/Sz6I4+YdrH1MKQo0n7YsjTu0G7JXdmdvAffmn6tupttPId5IsCPv4CrsHwaOzPz9 RSLedwmxvoVsP6ou+6hrJ2yTUgS94uH1yzeK5bmM8nQDktKCfVeIccSuxrhGwvXl8frD Kpvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=XbqQHmr3BRPcIsLIxXlQjDV7hOaFj0TjdcJQT/P17do=; b=GIYxV4h3XWMOmncFF0z+KKKno7GOVdXLZvAembvJDQYJzlEnmcO8Dl2ukVK/T5gxl4 Idx8aAJmvB8LtFnL451rmkNZMbpvyj+WA2VOKZJ6bvPlo/3BidDwYtvGUZ7MML4ZTt2c 1ldlGTZPS7TIHbg8GDGGWvLsEwLDs9aNRgmFFmelpLHZwIHqkLgpn2vqyfj/MeWN14AR keZlvPz0G1+2kE/26Gm2Z7KDxmj+wa6z7BUepmAUfyOSW4TJE5bk3H2Vd1KmDXHCxskK DyBmqvuKg5Vh/eFDlcTEmBbUhuCLvzyO2FN4nWMd8x+cKSjxDEL/QgKoP6Z1Geyx/Mja R+EQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="J9Ppv5/s"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l9-20020a056402344900b005002e71a84fsi1879842edc.137.2023.04.12.04.43.06; Wed, 12 Apr 2023 04:43:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="J9Ppv5/s"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230272AbjDLL2l (ORCPT + 99 others); Wed, 12 Apr 2023 07:28:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230385AbjDLL2P (ORCPT ); Wed, 12 Apr 2023 07:28:15 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA5273C2A; Wed, 12 Apr 2023 04:28:04 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 9942C660323A; Wed, 12 Apr 2023 12:27:59 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681298880; bh=PAEIMzwoCtkdbqGv4A8L/iPGet0PclfpZuqMQPM2HcY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=J9Ppv5/sBFmqMx+rakSqPF3CVQOMG6s1dku5Gwthks6GTOKqI5N0oq+Kry+gZ07m6 S+a8w5uHwRjrz+B0rokshjSpr/KSyXkOxcPTtm5pw6bRYlYxhuAFkRLhP+/k27OVyZ W0T7g4ABXRDy0biYk0Sfncyl2dYnCSG92G3wAmuHFqZjyeXHNxl9/ZVtKF0tE0gwR/ sW8ZocQE3Hh1VGAuJbZMi5dQfAcOJfcS27itNqI7D2z/j7Tx8NFj7NlyZB8wK5sRlG d1mMeyhn/4LryWoPj+/g7kv/wExgm1rjo7PnnGFZL+c4VFb2/2LVWP12rp1Rd9mhPE WQaNaDdgT7Lbw== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jassisinghbrar@gmail.com, chunfeng.yun@mediatek.com, vkoul@kernel.org, kishon@kernel.org, thierry.reding@gmail.com, u.kleine-koenig@pengutronix.de, chunkuang.hu@kernel.org, angelogioacchino.delregno@collabora.com, ck.hu@mediatek.com, jitao.shi@mediatek.com, xinlei.lee@mediatek.com, houlong.wei@mediatek.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, linux-pwm@vger.kernel.org, kernel@collabora.com, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH 11/27] dt-bindings: display: mediatek: merge: Add compatible for MediaTek MT6795 Date: Wed, 12 Apr 2023 13:27:23 +0200 Message-Id: <20230412112739.160376-12-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> References: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762970630522563667?= X-GMAIL-MSGID: =?utf-8?q?1762970630522563667?= Add a compatible string for MediaTek Helio X10 MT6795's MERGE block: this is the same as MT8173. Signed-off-by: AngeloGioacchino Del Regno Reviewed-by: Matthias Brugger Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/display/mediatek/mediatek,merge.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,merge.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,merge.yaml index 69ba75777dac..be330be1399a 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,merge.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,merge.yaml @@ -25,6 +25,9 @@ properties: - const: mediatek,mt8173-disp-merge - items: - const: mediatek,mt8195-disp-merge + - items: + - const: mediatek,mt6795-disp-merge + - const: mediatek,mt8173-disp-merge reg: maxItems: 1 From patchwork Wed Apr 12 11:27:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 82404 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp256026vqo; Wed, 12 Apr 2023 04:41:54 -0700 (PDT) X-Google-Smtp-Source: AKy350ZtQkq3lRkwcZgIUkJdPs347kH2H6GZtzfm0iGii20iH4B0nT5OoedgX8cha4pv+8p+EqSw X-Received: by 2002:a17:902:7485:b0:19d:181f:511 with SMTP id h5-20020a170902748500b0019d181f0511mr2063990pll.30.1681299714584; Wed, 12 Apr 2023 04:41:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681299714; cv=none; d=google.com; s=arc-20160816; b=w3bLKayWMIaTmG1BF0XzSnEc4TwK+9r/oWuGsn2+5Z7xzDTS5/ktIpBH5s6xEOGTvA k62n5eyN0UWJM87RVXHCNshYJ1JVRmAlaDcXr6lviQcINJDR3Ek4JGyxNPbDmDVBFTI0 bySOUTtx5jFswi3yud7MM5bkcu4OxnXCKI3Py1LQrsgZw85sknpxOQniJlfZ9s6gzPeE eLL4fzZhzqZWVrXi1+ixI55w0tZLvh9KIcUe8EZkNVBKFaspvb93FMWCisyV6mZaV1dE D3MbYrmyST8bOVUmEQDhPkq1kd4xa4J8SbsxUV9ptPa/6Sf6jS6lOpT/Fb/pSnrg9Gte NeKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=YFNew25RU5jeU2j6qhAbXWhqxkVS0n9AUiqY5LFWYvg=; b=EVGCq3TikyXb8sNRtVcEKJjwlWVRiUFmbxb1y6oXValntT9yxQiA/F5qj4bJH+SDII EPDVCF8BHVAAKfuilPyZS5ydGCesBXm+nDQEJRTCLQ7Ag3dsS28UDIM1atNYoIPokAIE vDF0GL0awgci5+GeDrlbmPAJlFZBtbU3Sj/1L5CaOzpmsGO2iLayfTdZmnmaQGkzvc0v QjCTwC479tkD5sBnLj9rTD9vfIJk8nDgO+l8AkVbzTaebvSbI8G73nfArCcn0w9ItPaa e0j7fjFG6W072Nz+CqPpffK1EICZP4hmd84D8Z5vkqN9rrpHSZYMWsXPpXBz9et9lpKj A01w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=i3z1ACTD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f18-20020a635552000000b005132b086eddsi15139056pgm.279.2023.04.12.04.41.42; Wed, 12 Apr 2023 04:41:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=i3z1ACTD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230521AbjDLL2r (ORCPT + 99 others); Wed, 12 Apr 2023 07:28:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230399AbjDLL2R (ORCPT ); Wed, 12 Apr 2023 07:28:17 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB6556A64; Wed, 12 Apr 2023 04:28:04 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 07D11660321E; Wed, 12 Apr 2023 12:28:00 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681298882; bh=ihRc7NW3u9lJ+DzQXHQTvckSkaFbsH5d9ZJ2q3uZyKY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=i3z1ACTD+TcOpq3a/byJzDApL7CEueY+nBR6mABbIrjQ5sSAPbwV6IE5eTX6mCLm2 lRDAJXLZNhc2e97olxSh4nsQ2KRpAvtiF37iTgyiv83PuOUyO8PgTVQd/R3dFFPfu3 YjtEEUPufVL5WJBQTXwu2jrQKhZeuYz9aV32/yY4IRsI2e6ytTgTb87vLu7ilXzOpZ KfV8IwJPJWiy9ACGmk+qC/kkHOQZGlLiqhhzeQC1DQjodJvnHCfIhK7QXsU3qLKZzf XVn4Yp9SvOmhWoY1rKeHpxvhgy7ut9Uv1z3olvpzrQncfviVdTXWWtioAGqbc3r2W0 Fkyc2cDQyo2NA== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jassisinghbrar@gmail.com, chunfeng.yun@mediatek.com, vkoul@kernel.org, kishon@kernel.org, thierry.reding@gmail.com, u.kleine-koenig@pengutronix.de, chunkuang.hu@kernel.org, angelogioacchino.delregno@collabora.com, ck.hu@mediatek.com, jitao.shi@mediatek.com, xinlei.lee@mediatek.com, houlong.wei@mediatek.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, linux-pwm@vger.kernel.org, kernel@collabora.com, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH 12/27] dt-bindings: display: mediatek: split: Add compatible for MediaTek MT6795 Date: Wed, 12 Apr 2023 13:27:24 +0200 Message-Id: <20230412112739.160376-13-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> References: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762970528993627272?= X-GMAIL-MSGID: =?utf-8?q?1762970528993627272?= Add a compatible string for MediaTek Helio X10 MT6795's SPLIT block: this is the same as MT8173. Signed-off-by: AngeloGioacchino Del Regno Reviewed-by: Matthias Brugger Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/display/mediatek/mediatek,split.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,split.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,split.yaml index 35ace1f322e8..fa6dd9b649fe 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,split.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,split.yaml @@ -23,6 +23,9 @@ properties: oneOf: - items: - const: mediatek,mt8173-disp-split + - items: + - const: mediatek,mt6795-disp-split + - const: mediatek,mt8173-disp-split reg: maxItems: 1 From patchwork Wed Apr 12 11:27:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 82421 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp259692vqo; Wed, 12 Apr 2023 04:49:01 -0700 (PDT) X-Google-Smtp-Source: AKy350ZhkGE7/jfuoFQNFORwhtrJa5sHiWX7m0nlz89IpGNeNJpXPS54+D8YhlnMJMlSDrdrev+N X-Received: by 2002:a17:902:ec87:b0:1a5:697:da24 with SMTP id x7-20020a170902ec8700b001a50697da24mr23504098plg.65.1681300141436; Wed, 12 Apr 2023 04:49:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681300141; cv=none; d=google.com; s=arc-20160816; b=hoPBIxE/F5O8O+NPMceYkALRZZLLLPwBaeA42+65FFak4fjFtdmVq321zsPSfMxjTQ kD1t2gEy6PPNeyOdKFg5TatWRrRsIEiGuotesgP1qnUtdbPQ7908Fo6sChbbtzyJKL8p 7jLKEBJd//Bgcpw0Kd3kXqSrwJSqBFnJWDB9lAserAtDBo2b698+sLvjPfkLZPdLbwIW CunClDLkFCT3YOW8Or2m59P0dTXPIzQ5FbuUUVUZvjLcXeR5Pia1Cg7xBxJCFQf+us5U znTB8SKs+LYsthMXdClxUaMetuxMFMT6sUs+cuPEyrFdhf1xrTsvtEdJuZUt+skQqxwq aZVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=tR8Zum4RVVdT4OzHgWXgNRcz6PpdJk/tUJE7szpEa8Y=; b=DguHa4q7agY0JNjGR43zmlwh1scfWsHIQAonrKCuRxzwyBwADUnJAiyqYo/zYImBHk mtC8qEM/BiHLfZnH+7wvNu3x0JO5wqZnUlb33WaynMLK15PYSGu9zoqQwbwZYC+vqPLQ W3FW9WZ5yZsMhTdDeyEWBlo7zXctNZkameECHYWvxPi0DCQMUniM9yOt4b+a03oAGrYH MSlnmbV+vHQLG8dSTWC/6q3APcxF87tvvKwqJ5EtVXKwbrkZbrxfhBnFW+/aI5yJl6xq q21ekj0+o+G4aRGDcOdSdTSjgtZ+dZ01nZIiYuh1vbsyHRjsTxIICxGnQpfJP/V2+IYL ZPUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Ej6OkOeO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bv188-20020a632ec5000000b004fb7e7d565asi15854285pgb.651.2023.04.12.04.48.48; Wed, 12 Apr 2023 04:49:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Ej6OkOeO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230416AbjDLL2o (ORCPT + 99 others); Wed, 12 Apr 2023 07:28:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230388AbjDLL2P (ORCPT ); Wed, 12 Apr 2023 07:28:15 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04F7F728A; Wed, 12 Apr 2023 04:28:05 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 72B416603D19; Wed, 12 Apr 2023 12:28:02 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681298883; bh=fXye3dLdrd01pW9dkK8SQo3s3rXAglHlbcKU/jyx0I0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ej6OkOeOtAUWnvV/z/G7eS/S0Cw+BAmPSrNTkwFSGZFaIysb5396dfynJAghUtK/y nhsRGbTG2MGS0RjjV4J0zm+UF0XkMAs4isip2S4VkgLK/4zRjYM5y02ULzC6WYQBV0 zpn8Sz1d2NfRLK0MHvFa5XerUCPFlebhaQi5dOt1/PJvT7GQX8d8S9KabYzOFByr45 EGVmZXukzKo7kVOkvSunIe+Wg6HazK4BxmfrYMeNkA6PPpo3O6iMV5IoxCY0My37d+ 2JSysFi39qmy+GE/ECFjnA91ZtghOFibEdqHSnfQMOiRGzqolI5KvS0+6v/PBIrEGD OS4NKIms3vDWA== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jassisinghbrar@gmail.com, chunfeng.yun@mediatek.com, vkoul@kernel.org, kishon@kernel.org, thierry.reding@gmail.com, u.kleine-koenig@pengutronix.de, chunkuang.hu@kernel.org, angelogioacchino.delregno@collabora.com, ck.hu@mediatek.com, jitao.shi@mediatek.com, xinlei.lee@mediatek.com, houlong.wei@mediatek.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, linux-pwm@vger.kernel.org, kernel@collabora.com, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH 13/27] dt-bindings: display: mediatek: ufoe: Add compatible for MediaTek MT6795 Date: Wed, 12 Apr 2023 13:27:25 +0200 Message-Id: <20230412112739.160376-14-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> References: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762970976741101960?= X-GMAIL-MSGID: =?utf-8?q?1762970976741101960?= Add a compatible string for MediaTek Helio X10 MT6795's UFOE block: this is the same as MT8173. Signed-off-by: AngeloGioacchino Del Regno Reviewed-by: Matthias Brugger Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/display/mediatek/mediatek,ufoe.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,ufoe.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,ufoe.yaml index b8bb135fe96b..282925a73804 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,ufoe.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,ufoe.yaml @@ -24,6 +24,9 @@ properties: oneOf: - items: - const: mediatek,mt8173-disp-ufoe + - items: + - const: mediatek,mt6795-disp-ufoe + - const: mediatek,mt8173-disp-ufoe reg: maxItems: 1 From patchwork Wed Apr 12 11:27:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 82394 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp249495vqo; Wed, 12 Apr 2023 04:30:08 -0700 (PDT) X-Google-Smtp-Source: AKy350bwYkYmLSJxTvfPqkwH66JI6uW+CVDrOhRUCOjsjBi/d4GarufknnaDoSsen2/ejlte9gHu X-Received: by 2002:a50:ed13:0:b0:504:a359:3fa8 with SMTP id j19-20020a50ed13000000b00504a3593fa8mr4747172eds.20.1681299008475; Wed, 12 Apr 2023 04:30:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681299008; cv=none; d=google.com; s=arc-20160816; b=X5ZHUNZ0nwPoyWVPP78fQDvZ6dfrsWpvbCLEUEGzsQujizGK3hl6Wg3FtdesBAtlKX vDDoEhEXuxpE67ui1krU6Vs7qQFk354pH1oJClOXXCjVLkBkj+8N9Sf78kGWj0bT0vT2 8YCQCWBoqWMB6rBslq2SpGkFL4+sZ6/lzEPs6A9zt2PL8cXYF1pZiEDexWfJzLLUiodb B1hS73fa5KDgSjV0eGeaBZbCGTaKcI5SZvynnREo2FRj6wV7Z4BF5vbBd3ven/G1YiVx DYZPDkM3NsiUGxlejMhdDk3Vr0bNAXD44/sZnC4b0LJSPB1xoI9x+X1kLAq4p2wwIK2p jS9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=viZU1uXSv8GR7dJJNnm5rb7tBPaRLWmMy0GUtOEN2C0=; b=aA3kE0gbtmBdyJqeFi8cbD7OKiRyzhO1pZRC6w6PGFc1V/s2HKYwNzHMlc67iaoVnz c4UqtxMoNFSw4JUhwIFHoIcMq+luBxXUuxwG/c3BeFl3C8nb/xs/GS7fLsM6gBwLvIqY KSWNv1QOf4lPnsdNhnYPaW5asTB3d9qiAP7nQygqoTo53vpkhFOEl6Gi9nm2p6/GKhQQ QNJJVi8OxesLtn7X3J+IFPvfgH56U2atnU5aBjzmVm8dJr6xT8j4W6eqxJDzTgkcZ8Kr RG1pFmvdhAHw3A25QQqe72S2y6O0yosABcls7L7sLy3E8zgR1GgPOVhkA7FNmgjk3dQM rX0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=c4zJbidX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k7-20020a05640212c700b0050508fc766csi345539edx.125.2023.04.12.04.29.43; Wed, 12 Apr 2023 04:30:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=c4zJbidX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231503AbjDLL2t (ORCPT + 99 others); Wed, 12 Apr 2023 07:28:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230401AbjDLL2R (ORCPT ); Wed, 12 Apr 2023 07:28:17 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 727BB7ABF; Wed, 12 Apr 2023 04:28:06 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id DE8CF660320D; Wed, 12 Apr 2023 12:28:03 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681298885; bh=ZP8Raf7/OsQyACM8THH6aYKXtHLCsxN2YpKA453ao5Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=c4zJbidXPm9gF95wuQCrP8ht44Qdm8je/tCGcPsDDJF+0BlKGLN8oCAr3Ac19Ji2z hRP16a5E4BzmxqR2ERv23R5h7W4Cht5Y61ndzRk+N7e6aXyGSQzzaozxIHWK+PNFvX QFQ/oz/lzvhj2ldJQhj48x9x0gUXwClPe9skpzJA8x9GNZTpBmwTH6X5J2ojhOUO9s etlCskPn+oTSxhJCraYYCsUwZTNW+4VTbFKcXMiru7ylNXDJEDBX427QtgHSTOB9pu /TgbPa+QOOtgrPWbznWQ6C2qylGpp7SPcNIofgdKpV7ddz/yQ5VTmwrmOvD7lgZ59X /DPgqAGfvYOKQ== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jassisinghbrar@gmail.com, chunfeng.yun@mediatek.com, vkoul@kernel.org, kishon@kernel.org, thierry.reding@gmail.com, u.kleine-koenig@pengutronix.de, chunkuang.hu@kernel.org, angelogioacchino.delregno@collabora.com, ck.hu@mediatek.com, jitao.shi@mediatek.com, xinlei.lee@mediatek.com, houlong.wei@mediatek.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, linux-pwm@vger.kernel.org, kernel@collabora.com, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH 14/27] dt-bindings: display: mediatek: od: Add compatible for MediaTek MT6795 Date: Wed, 12 Apr 2023 13:27:26 +0200 Message-Id: <20230412112739.160376-15-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> References: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762969788647378030?= X-GMAIL-MSGID: =?utf-8?q?1762969788647378030?= Add a compatible string for MediaTek Helio X10 MT6795's OverDrive (OD) block: this is the same as MT8173. Signed-off-by: AngeloGioacchino Del Regno Reviewed-by: Matthias Brugger Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/display/mediatek/mediatek,od.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,od.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,od.yaml index 853fcb9db2be..691a3644504f 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,od.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,od.yaml @@ -25,6 +25,9 @@ properties: - const: mediatek,mt2712-disp-od - items: - const: mediatek,mt8173-disp-od + - items: + - const: mediatek,mt6795-disp-od + - const: mediatek,mt8173-disp-od reg: maxItems: 1 From patchwork Wed Apr 12 11:27:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 82406 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp256468vqo; Wed, 12 Apr 2023 04:42:44 -0700 (PDT) X-Google-Smtp-Source: AKy350aLjKoTQ0zgvtxTDmE30LpyrRWFr7X1lTfMYQ0EXiDnwmPizi0oCuJBSJBCyBEQuIrzGQs6 X-Received: by 2002:a62:1cca:0:b0:5a8:ad9d:83f with SMTP id c193-20020a621cca000000b005a8ad9d083fmr7591313pfc.24.1681299764326; Wed, 12 Apr 2023 04:42:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681299764; cv=none; d=google.com; s=arc-20160816; b=VahpQO0gfOSQYOWv9yDGaqBbGGevOeG+DGR+Xlyw20WBvnQ0k0b2+g2oNXAZwyvROL ek+hrkvdi9vZyfaQ7vXRFdfQ9fyJQzBn9j9AFPU4EYTHeNtfBKiM5vfDt8k/gDLGPesZ Db8hSGPLxZJRXywh88r2LV9qvev4dLD9Q4wkPuBlXSvhu9FFIK2XEHMnJoAnOYUCNxtY tIZIUF/O3NfJL6kKd+TMwjwvbbqqehE27LOpya9+P5iB0nZ+Xke9salR4XxHNCHDJcj+ P0ID5ATSsxEIyt+9Ex5LFi+n0xU1WS8pQiyVZIOBZmtzkSSTDeLx2fB8Q8oPGCSDY7HP i55A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=MoQOhwzyBSXjf7etz6aTXy6/onN4oRHTWUl+Y0AxwSI=; b=hVkkKgcesgymQkjk7Sne8cSrVUrPDBlpx97LtUaNRmeFj5g7UW/e+WBm7eatk6juWo alZCiJhk7IQxh0LVWUBsCEx49d54/VVhw0c/3kTNoblInSPMeYs/FTUWsPuFE36pKVWz j1JOC66rg1de+dpk9tg3YgC2RRGRgHeF8FrMw+7wJ5TIotq/44GizMdeODJPZ5y/AYvH JlO1icKwT4CPl0ccl11f7Wnp2kH3y7pBetPaIle95bESQlGNYwBAfV97wEWASF7KfawG 0WHSK71LBsTQ6MSWonKLDwmw3hUp8vdUfRnSQ/GbYpGa30PqmS2RqoStPZv8LVQ0qNUX PMSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=a0U76jnx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f18-20020a635552000000b005132b086eddsi15139056pgm.279.2023.04.12.04.42.32; Wed, 12 Apr 2023 04:42:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=a0U76jnx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231552AbjDLL3B (ORCPT + 99 others); Wed, 12 Apr 2023 07:29:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231363AbjDLL2a (ORCPT ); Wed, 12 Apr 2023 07:28:30 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 889EF7D9C; Wed, 12 Apr 2023 04:28:10 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 4F5AD66032C5; Wed, 12 Apr 2023 12:28:05 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681298886; bh=BBxCdX7JRgbzd6szv2aaZHGd/h+zBG+alQaNlQmwKU4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=a0U76jnxrbd9Zqzfdi/hHcMIIOOrtgeOX05hBmd+zqg0Q91aaIGFE08/p38/lGzvy MsuKE501VB243hN6L23R6La8HMzbbbUDPrSAhVsXKUX6xDeNOYSLjElseURvBFlYT/ rzW3WCrHPkKc/M+3bB2i8Nkyd1wK+iJ9JLdUszrA5ICmmfSWADPwjbgOpjqHeXEvc7 nxBTieSEO9BxQ5XQy9cDV6CTBxTHrkNcnyAtoqJXah6wy/561j8cWFPd0/B7djUgVc TIwH+pTcUoag0ZmLcVRhcC+ZnIqyK0QO6rg7EJOpBTQO6HGyVcMy7HjLKZ5V5Sslfs VDljdiOarX4Ag== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jassisinghbrar@gmail.com, chunfeng.yun@mediatek.com, vkoul@kernel.org, kishon@kernel.org, thierry.reding@gmail.com, u.kleine-koenig@pengutronix.de, chunkuang.hu@kernel.org, angelogioacchino.delregno@collabora.com, ck.hu@mediatek.com, jitao.shi@mediatek.com, xinlei.lee@mediatek.com, houlong.wei@mediatek.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, linux-pwm@vger.kernel.org, kernel@collabora.com, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Krzysztof Kozlowski Subject: [PATCH 15/27] dt-bindings: mailbox: mediatek,gce-mailbox: Add support for MT6795 Date: Wed, 12 Apr 2023 13:27:27 +0200 Message-Id: <20230412112739.160376-16-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> References: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762970581613957904?= X-GMAIL-MSGID: =?utf-8?q?1762970581613957904?= Add a compatible string for the MT6795 Helio X10 SoC using MT8173 binding and add a header for the MT6795's GCE mailbox. Signed-off-by: AngeloGioacchino Del Regno Reviewed-by: Krzysztof Kozlowski Reviewed-by: Matthias Brugger --- .../mailbox/mediatek,gce-mailbox.yaml | 20 +-- include/dt-bindings/gce/mediatek,mt6795-gce.h | 123 ++++++++++++++++++ 2 files changed, 135 insertions(+), 8 deletions(-) create mode 100644 include/dt-bindings/gce/mediatek,mt6795-gce.h diff --git a/Documentation/devicetree/bindings/mailbox/mediatek,gce-mailbox.yaml b/Documentation/devicetree/bindings/mailbox/mediatek,gce-mailbox.yaml index d383b2ab3ce8..cef9d7601398 100644 --- a/Documentation/devicetree/bindings/mailbox/mediatek,gce-mailbox.yaml +++ b/Documentation/devicetree/bindings/mailbox/mediatek,gce-mailbox.yaml @@ -16,14 +16,18 @@ description: properties: compatible: - enum: - - mediatek,mt6779-gce - - mediatek,mt8173-gce - - mediatek,mt8183-gce - - mediatek,mt8186-gce - - mediatek,mt8188-gce - - mediatek,mt8192-gce - - mediatek,mt8195-gce + oneOf: + - enum: + - mediatek,mt6779-gce + - mediatek,mt8173-gce + - mediatek,mt8183-gce + - mediatek,mt8186-gce + - mediatek,mt8188-gce + - mediatek,mt8192-gce + - mediatek,mt8195-gce + - items: + - const: mediatek,mt6795-gce + - const: mediatek,mt8173-gce "#mbox-cells": const: 2 diff --git a/include/dt-bindings/gce/mediatek,mt6795-gce.h b/include/dt-bindings/gce/mediatek,mt6795-gce.h new file mode 100644 index 000000000000..97d5ba2d2b44 --- /dev/null +++ b/include/dt-bindings/gce/mediatek,mt6795-gce.h @@ -0,0 +1,123 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ +/* + * Copyright (c) 2023 Collabora Ltd. + * Author: AngeloGioacchino Del Regno + */ +#ifndef _DT_BINDINGS_GCE_MT6795_H +#define _DT_BINDINGS_GCE_MT6795_H + +/* GCE HW thread priority */ +#define CMDQ_THR_PRIO_LOWEST 0 +#define CMDQ_THR_PRIO_NORMAL 1 +#define CMDQ_THR_PRIO_NORMAL_2 2 +#define CMDQ_THR_PRIO_MEDIUM 3 +#define CMDQ_THR_PRIO_MEDIUM_2 4 +#define CMDQ_THR_PRIO_HIGH 5 +#define CMDQ_THR_PRIO_HIGHER 6 +#define CMDQ_THR_PRIO_HIGHEST 7 + +/* GCE SUBSYS */ +#define SUBSYS_1300XXXX 0 +#define SUBSYS_1400XXXX 1 +#define SUBSYS_1401XXXX 2 +#define SUBSYS_1402XXXX 3 +#define SUBSYS_1500XXXX 4 +#define SUBSYS_1600XXXX 5 +#define SUBSYS_1700XXXX 6 +#define SUBSYS_1800XXXX 7 +#define SUBSYS_1000XXXX 8 +#define SUBSYS_1001XXXX 9 +#define SUBSYS_1002XXXX 10 +#define SUBSYS_1003XXXX 11 +#define SUBSYS_1004XXXX 12 +#define SUBSYS_1005XXXX 13 +#define SUBSYS_1020XXXX 14 +#define SUBSYS_1021XXXX 15 +#define SUBSYS_1120XXXX 16 +#define SUBSYS_1121XXXX 17 +#define SUBSYS_1122XXXX 18 +#define SUBSYS_1123XXXX 19 +#define SUBSYS_1124XXXX 20 +#define SUBSYS_1125XXXX 21 +#define SUBSYS_1126XXXX 22 + +/* GCE HW EVENT */ +#define CMDQ_EVENT_MDP_RDMA0_SOF 0 +#define CMDQ_EVENT_MDP_RDMA1_SOF 1 +#define CMDQ_EVENT_MDP_DSI0_TE_SOF 2 +#define CMDQ_EVENT_MDP_DSI1_TE_SOF 3 +#define CMDQ_EVENT_MDP_MVW_SOF 4 +#define CMDQ_EVENT_MDP_TDSHP0_SOF 5 +#define CMDQ_EVENT_MDP_TDSHP1_SOF 6 +#define CMDQ_EVENT_MDP_WDMA_SOF 7 +#define CMDQ_EVENT_MDP_WROT0_SOF 8 +#define CMDQ_EVENT_MDP_WROT1_SOF 9 +#define CMDQ_EVENT_MDP_CROP_SOF 10 +#define CMDQ_EVENT_DISP_OVL0_SOF 11 +#define CMDQ_EVENT_DISP_OVL1_SOF 12 +#define CMDQ_EVENT_DISP_RDMA0_SOF 13 +#define CMDQ_EVENT_DISP_RDMA1_SOF 14 +#define CMDQ_EVENT_DISP_RDMA2_SOF 15 +#define CMDQ_EVENT_DISP_WDMA0_SOF 16 +#define CMDQ_EVENT_DISP_WDMA1_SOF 17 +#define CMDQ_EVENT_DISP_COLOR0_SOF 18 +#define CMDQ_EVENT_DISP_COLOR1_SOF 19 +#define CMDQ_EVENT_DISP_AAL_SOF 20 +#define CMDQ_EVENT_DISP_GAMMA_SOF 21 +#define CMDQ_EVENT_DISP_UFOE_SOF 22 +#define CMDQ_EVENT_DISP_PWM0_SOF 23 +#define CMDQ_EVENT_DISP_PWM1_SOF 24 +#define CMDQ_EVENT_DISP_OD_SOF 25 +#define CMDQ_EVENT_MDP_RDMA0_EOF 26 +#define CMDQ_EVENT_MDP_RDMA1_EOF 27 +#define CMDQ_EVENT_MDP_RSZ0_EOF 28 +#define CMDQ_EVENT_MDP_RSZ1_EOF 29 +#define CMDQ_EVENT_MDP_RSZ2_EOF 30 +#define CMDQ_EVENT_MDP_TDSHP0_EOF 31 +#define CMDQ_EVENT_MDP_TDSHP1_EOF 32 +#define CMDQ_EVENT_MDP_WDMA_EOF 33 +#define CMDQ_EVENT_MDP_WROT0_WRITE_EOF 34 +#define CMDQ_EVENT_MDP_WROT0_READ_EOF 35 +#define CMDQ_EVENT_MDP_WROT1_WRITE_EOF 36 +#define CMDQ_EVENT_MDP_WROT1_READ_EOF 37 +#define CMDQ_EVENT_MDP_CROP_EOF 38 +#define CMDQ_EVENT_DISP_OVL0_EOF 39 +#define CMDQ_EVENT_DISP_OVL1_EOF 40 +#define CMDQ_EVENT_DISP_RDMA0_EOF 41 +#define CMDQ_EVENT_DISP_RDMA1_EOF 42 +#define CMDQ_EVENT_DISP_RDMA2_EOF 43 +#define CMDQ_EVENT_DISP_WDMA0_EOF 44 +#define CMDQ_EVENT_DISP_WDMA1_EOF 45 +#define CMDQ_EVENT_DISP_COLOR0_EOF 46 +#define CMDQ_EVENT_DISP_COLOR1_EOF 47 +#define CMDQ_EVENT_DISP_AAL_EOF 48 +#define CMDQ_EVENT_DISP_GAMMA_EOF 49 +#define CMDQ_EVENT_DISP_UFOE_EOF 50 +#define CMDQ_EVENT_DISP_DPI0_EOF 51 +#define CMDQ_EVENT_MUTEX0_STREAM_EOF 52 +#define CMDQ_EVENT_MUTEX1_STREAM_EOF 53 +#define CMDQ_EVENT_MUTEX2_STREAM_EOF 54 +#define CMDQ_EVENT_MUTEX3_STREAM_EOF 55 +#define CMDQ_EVENT_MUTEX4_STREAM_EOF 56 +#define CMDQ_EVENT_MUTEX5_STREAM_EOF 57 +#define CMDQ_EVENT_MUTEX6_STREAM_EOF 58 +#define CMDQ_EVENT_MUTEX7_STREAM_EOF 59 +#define CMDQ_EVENT_MUTEX8_STREAM_EOF 60 +#define CMDQ_EVENT_MUTEX9_STREAM_EOF 61 +#define CMDQ_EVENT_DISP_RDMA0_UNDERRUN 62 +#define CMDQ_EVENT_DISP_RDMA1_UNDERRUN 63 +#define CMDQ_EVENT_DISP_RDMA2_UNDERRUN 64 +#define CMDQ_EVENT_ISP_PASS2_2_EOF 129 +#define CMDQ_EVENT_ISP_PASS2_1_EOF 130 +#define CMDQ_EVENT_ISP_PASS2_0_EOF 131 +#define CMDQ_EVENT_ISP_PASS1_1_EOF 132 +#define CMDQ_EVENT_ISP_PASS1_0_EOF 133 +#define CMDQ_EVENT_CAMSV_2_PASS1_EOF 134 +#define CMDQ_EVENT_CAMSV_1_PASS1_EOF 135 +#define CMDQ_EVENT_SENINF_CAM1_2_3_FIFO_FULL 136 +#define CMDQ_EVENT_SENINF_CAM0_FIFO_FULL 137 +#define CMDQ_EVENT_JPGENC_PASS2_EOF 257 +#define CMDQ_EVENT_JPGENC_PASS1_EOF 258 +#define CMDQ_EVENT_JPGDEC_EOF 259 + +#endif From patchwork Wed Apr 12 11:27:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 82412 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp258285vqo; Wed, 12 Apr 2023 04:46:32 -0700 (PDT) X-Google-Smtp-Source: AKy350YfIJPS/HrlH3LR2GzxtNVEqNQFvgCrX8spt2tcOdlbGcWuAE2ukao0Y7O/Cr+2k5w6Smdy X-Received: by 2002:a17:902:c613:b0:1a2:85f0:e748 with SMTP id r19-20020a170902c61300b001a285f0e748mr16300485plr.20.1681299991889; Wed, 12 Apr 2023 04:46:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681299991; cv=none; d=google.com; s=arc-20160816; b=K1giOwG1trDFDgL3Acunt1F5OgvkE3Witzkr8gOtWETelfHgvZSnSPI08QN+3af/eQ GL7J9Mokt8sWgiBIEpSMJvGf7T5eCEXr15ZKuXLU00tQhmYwNZ1lAswGzPnkxstRsWhi HOtovFeVJDUyMFDjsEttFcfDmH/qxXKL2tV4cyiz0jQhvlzI4lPX2qPJQDD7qlq5UvVc k5IwfAWpwjekbKHESHJHX8oI2gCzNYQl77MrIT00d30MW23FWtJOZhmyRRgNRlKzM7Ja E/T6ptOzKIlR4EP8PXtcQFOUDYDMiRj5HYSCKRBQzuTWLV2Tm0CJkNtJV/j6d+XUW2U+ JWvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=e74Rpl3kly0MZG+mhNu7kf9pjdP7luUXY+8TywSsq9c=; b=vlvGWm7cbaZW+Z1/hVCgUp4OM4u7FXWkQPu5wYrNW1mo9Bu/YxcYYdPY/BH/Nq8mAh zNki1c5KbLzwjVjuR8pboiCj/JS2pUg0+PDqFwkNEBWhaD7GbMdpwU48ecBgmedzElrd ASgR2GZJH0oJLVbShT7BRHdsNxQD6eVNLp6ofCiQbhd7fsQWpv4b+jUpjXhcFF8Ws+0U S15fNXg0cC6uAOKK2dyuZNI+s9GiB/0eevnNdFS51TZSlGMPurKLHg4kLq3BIq9etwDU 5dQDEu0z0Q4FzlneJ8HC6yZZXkNGoZ6TrC88zKmno041cK7mq6wzF2wcqMdmkko4/S6f tRDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=ThQsw1Ay; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f1-20020a170902ab8100b0019e6d80f948si15337587plr.485.2023.04.12.04.46.19; Wed, 12 Apr 2023 04:46:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=ThQsw1Ay; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230397AbjDLL27 (ORCPT + 99 others); Wed, 12 Apr 2023 07:28:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231317AbjDLL21 (ORCPT ); Wed, 12 Apr 2023 07:28:27 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64EC97D8B; Wed, 12 Apr 2023 04:28:10 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id CC6AD6603293; Wed, 12 Apr 2023 12:28:06 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681298888; bh=YwKUdOVKZZzufL6XAsjNHZkwVMbtCnbLx+vv25vZV7Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ThQsw1AyvAaKbhdVCeXKcuOhCjk4B3E8RVURtjINGdM3o3KF7OXl1HlCihY8BZbRn E2/NgcXGbmGeIonXpL+opqEraPvZ/DZ3zGgVnj9FxcvG5iNmEdK7yjqz2LFuO2vc5g TS+RjQ2Dr3vStagSaSZdES6eM7238BU0OJf5Nh8oLMpUFlMwgEI9lmR91/uyDLpqin 8/2i4Z8Z03+aTffVbZYDNxHDc3vq8x7gtGXf5jKWCzANNxzghLSXhjJMkMBO0pdxur 0pUzph5yMDkbZmw4zwTzhiwlqUS7IsEZs6IYtvwAO/WLWCEopm3p7XYAnQrkHvLClO VMFxq4GIS4W2g== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jassisinghbrar@gmail.com, chunfeng.yun@mediatek.com, vkoul@kernel.org, kishon@kernel.org, thierry.reding@gmail.com, u.kleine-koenig@pengutronix.de, chunkuang.hu@kernel.org, angelogioacchino.delregno@collabora.com, ck.hu@mediatek.com, jitao.shi@mediatek.com, xinlei.lee@mediatek.com, houlong.wei@mediatek.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, linux-pwm@vger.kernel.org, kernel@collabora.com, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH 16/27] arm64: dts: mediatek: mt6795: Add support for the CMDQ/GCE mailbox Date: Wed, 12 Apr 2023 13:27:28 +0200 Message-Id: <20230412112739.160376-17-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> References: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762970820379197981?= X-GMAIL-MSGID: =?utf-8?q?1762970820379197981?= In preparation for adding multimedia blocks, add the CMDQ/GCE mailbox. Signed-off-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt6795.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt6795.dtsi b/arch/arm64/boot/dts/mediatek/mt6795.dtsi index 090400d7fd61..99cc4918e6ba 100644 --- a/arch/arm64/boot/dts/mediatek/mt6795.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt6795.dtsi @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include @@ -401,6 +402,15 @@ fhctl: clock-controller@10209f00 { status = "disabled"; }; + gce: mailbox@10212000 { + compatible = "mediatek,mt6795-gce", "mediatek,mt8173-gce"; + reg = <0 0x10212000 0 0x1000>; + interrupts = ; + clocks = <&infracfg CLK_INFRA_GCE>; + clock-names = "gce"; + #mbox-cells = <2>; + }; + gic: interrupt-controller@10221000 { compatible = "arm,gic-400"; #interrupt-cells = <3>; From patchwork Wed Apr 12 11:27:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 82422 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp260134vqo; Wed, 12 Apr 2023 04:49:54 -0700 (PDT) X-Google-Smtp-Source: AKy350ZcOjRLq1fPU0MEmNdMCz6lq04Qo7RlXZ3ToNqQ8tZT1OUe5WuhEoDwSXlLd5fsifoubSry X-Received: by 2002:a17:907:874f:b0:94a:532b:3f70 with SMTP id qo15-20020a170907874f00b0094a532b3f70mr9706878ejc.20.1681300194764; Wed, 12 Apr 2023 04:49:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681300194; cv=none; d=google.com; s=arc-20160816; b=VfZnxMZbuuwoPUqLIh89L69/QyOrRNlxX1zztK0Q6QNAdruf3C7w+zS28O8TD3qbfb R0ewH+YlPtQkENzKBMbboxEXmEeOsNz9ry5huXxthX63ryjMXHW02wKFbJVsaPxMvuyt 8faDZDMOAuB3VxAScvpYGLailLNmWbX9WiRaJOfapK7OnQOPuaHxe6dGvtsEN3v/kllO YtggBkQU6BicRGkvQiS71++Aj45W8o7dwJ2bf5zoLw0TUf2xzf8r4eeew2SAGlspKyyh Y6BWwXyVBlNz1TstC+ZsUK2p2LNGZRL/j+Artwv+k0ocaVGGAUxRACwWLlrqDj1juYaZ ow5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=CEcHCPUa/PN8LoqmEZKjsUsJdx7L5WQNMInklQQIUqI=; b=w3AjaGS0r9a8SCrJBoaGf1QUR6GJtGyF0qCNecvMhXZL3+5ZMcSON4807dZFEUjr4D E07fRO3aia+q6C4uGJqZVQ+dK+1tiyqeD/s/tFcjpbFSQHittcbMyqRsZ+k/mkPiSwvN l6Kdh75IGLdi87BgOZ+SSNtNJAIqKWxyixyfPOVNttcVHQQwSlhaUO+o17Fbs/2kpkwY 269JOPuA3gpALU8KoEZfyoc6pBqn7FbyJe8flWoH56esxpHZkzo7gyQtwbbhukt3y79v /rGNNzhcB/oD2Rjm389mKJll6ecx/yqFWu30BJdakvM15U1s/aQPWdwwttzsdw2+opCy P3WQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=SAt2DXz8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s20-20020a17090699d400b0094aa492a35fsi5572030ejn.850.2023.04.12.04.49.30; Wed, 12 Apr 2023 04:49:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=SAt2DXz8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231553AbjDLL3E (ORCPT + 99 others); Wed, 12 Apr 2023 07:29:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231464AbjDLL2k (ORCPT ); Wed, 12 Apr 2023 07:28:40 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E89A7DA5; Wed, 12 Apr 2023 04:28:11 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 384476603268; Wed, 12 Apr 2023 12:28:08 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681298889; bh=BO9urXruQyNuXF4nM/TgzD/wYwtIsG4Yokws6tMujbw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SAt2DXz8F3hUnNbs1pp9rHQ81rEQD746/hrjZ+757Vgsd3quG/18wOKvcJh9CMrfR zFA0yyWVbUIv4aoYlO85o2PAfLDduFdgi0GiHUxAx3nT140GZszMd8nI22Yjcf7EnO iaOLVZWUhVcp30tMJjFUZ72anzKnBvKo+u2PUKZY3Dluhm89b0KJyswrxuT5V7uDV5 IJhdAZBDnQ1Htpq5HSVv5jJqxKmxoJn9TU3gHEwOM9lspc///2HsP/HVdI6a+MG0uH BfR86FPxhq8CW6ua4VFQV++ehaJlPnm14ijxwaH1Nivonbo1dYFCefonMilDODEcWK HobBtNylv+OZA== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jassisinghbrar@gmail.com, chunfeng.yun@mediatek.com, vkoul@kernel.org, kishon@kernel.org, thierry.reding@gmail.com, u.kleine-koenig@pengutronix.de, chunkuang.hu@kernel.org, angelogioacchino.delregno@collabora.com, ck.hu@mediatek.com, jitao.shi@mediatek.com, xinlei.lee@mediatek.com, houlong.wei@mediatek.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, linux-pwm@vger.kernel.org, kernel@collabora.com, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH 17/27] arm64: dts: mediatek: mt6795: Add MMSYS node for multimedia clocks Date: Wed, 12 Apr 2023 13:27:29 +0200 Message-Id: <20230412112739.160376-18-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> References: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762971032663663601?= X-GMAIL-MSGID: =?utf-8?q?1762971032663663601?= Add the MultiMedia System node, providing clocks for the multimedia hardware blocks and their IOMMU/SMIs. Signed-off-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt6795.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt6795.dtsi b/arch/arm64/boot/dts/mediatek/mt6795.dtsi index 99cc4918e6ba..a8b2c4517e79 100644 --- a/arch/arm64/boot/dts/mediatek/mt6795.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt6795.dtsi @@ -635,6 +635,19 @@ mmc3: mmc@11260000 { status = "disabled"; }; + mmsys: syscon@14000000 { + compatible = "mediatek,mt6795-mmsys", "syscon"; + reg = <0 0x14000000 0 0x1000>; + power-domains = <&spm MT6795_POWER_DOMAIN_MM>; + assigned-clocks = <&topckgen CLK_TOP_MM_SEL>; + assigned-clock-rates = <400000000>; + #clock-cells = <1>; + #reset-cells = <1>; + mboxes = <&gce 0 CMDQ_THR_PRIO_HIGHEST>, + <&gce 1 CMDQ_THR_PRIO_HIGHEST>; + mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0 0x1000>; + }; + vdecsys: clock-controller@16000000 { compatible = "mediatek,mt6795-vdecsys"; reg = <0 0x16000000 0 0x1000>; From patchwork Wed Apr 12 11:27:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 82399 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp254469vqo; Wed, 12 Apr 2023 04:38:44 -0700 (PDT) X-Google-Smtp-Source: AKy350YcYQmiMiy4+MRZmoMTpjNvqlRBiQegXGOY0mfuhIcV9DS3QOwZCFKb9oovyvAeSCO2Gck5 X-Received: by 2002:a17:902:c944:b0:1a6:48e6:ea8e with SMTP id i4-20020a170902c94400b001a648e6ea8emr3117022pla.4.1681299524297; Wed, 12 Apr 2023 04:38:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681299524; cv=none; d=google.com; s=arc-20160816; b=JLZsO7p4nn+lUDfuNChmeT0/gM189inVuBmZAmO2ZbbThMG5d4VP6VSm5cXsh2nCjo mN0Ud9Y+yC0YiPUXBa5Jt+OUcAkzifhSqpB7HAYErf1FnKlsczXj2DveK2x3zWPqJIJC t8yjB/V79npMM7oMGAtOagmzFZkE46MBjFG4zKEf6KGAIORA6I78fzg4Lc7fjB6sUZz7 jfTT1dZuNgiIfUX5rN/Bz1WHMuVQl3YzcwBp85PFl89CFGkc63CH5CEnXWShFftJOrdz BvOBsH/dHY92AAxp6kHNiPMt5d2gq85/2RGS47oaojSahPqIMRbbReJvl4HgYoqrcVj9 3f4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=4ksb7cidYARjDsa/7A0yswz8kVPrna1cye02soqpc6M=; b=VY/7VHXmAJ3KwTkbeopo8dQa0FpzCFoMNibDSB7ERyE365+YM1Uuc5CueO8qjFdYOw WrpeEfmF8Xat/WW+G0gEIhe7fXJ+sBIJSXi/ruCs18ojaqGeqIBp3FRO7czN6jNcwhJK 4iQLzkm5foQCVvs+M5TGIBsZWe2o2oRIGaJHIdVKfgElrPavuwOSKa1I0ysz0jaUyu+v 5AojUS8tA9ds9DMSOqVct5vzik2blsKN14A2r+bWaPjd62llrrEtbwGlyEQMqY2Bjkrc 5Nbew3Zpzj/dQuKt4Dmk4elwoRAveKtyxGOG0guk3H3uapgJNiYgj8Py7JheevzK/ovR JOhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=MRVBOn4m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f35-20020a631f23000000b005192614041esi8528129pgf.519.2023.04.12.04.38.32; Wed, 12 Apr 2023 04:38:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=MRVBOn4m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230507AbjDLL3M (ORCPT + 99 others); Wed, 12 Apr 2023 07:29:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231493AbjDLL2o (ORCPT ); Wed, 12 Apr 2023 07:28:44 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 611898694; Wed, 12 Apr 2023 04:28:12 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 992EB660328C; Wed, 12 Apr 2023 12:28:09 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681298890; bh=udYJL7+D0nU6SsvUw/ySN6/rdg1po5P1pPwUOP6NJ6Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MRVBOn4mP7A1tf5caIZVGKmwr24CaJNDm/AbiTnyf7L9hCauZ+fKHDnUCvpnlh2Gu hCLw6+5k9fn1t0edotlNf/dR1l6epND/bmS641hTNUfYEPSt2dgZoDLcmHxL1UE1Vr naKfvmShNyWBfXVB5qx2KZXnCOUqNcZ3VwTWYaSb8ig7dvXi/CBcw5HfmqJLg6HIWU qSFlSsB5xi4n+GdRG3N6WFbdYgA63kBtxZ85d5V97ynMiZ04EK2HkDhncPjrxM2gg9 GhM2i8GMulrF35oLSgxcJxz62pQNvA0zZ6uGfgbuyMBhw+06Eyiz3Q7lEQP+u1cQQt bjjb7seRYMYkg== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jassisinghbrar@gmail.com, chunfeng.yun@mediatek.com, vkoul@kernel.org, kishon@kernel.org, thierry.reding@gmail.com, u.kleine-koenig@pengutronix.de, chunkuang.hu@kernel.org, angelogioacchino.delregno@collabora.com, ck.hu@mediatek.com, jitao.shi@mediatek.com, xinlei.lee@mediatek.com, houlong.wei@mediatek.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, linux-pwm@vger.kernel.org, kernel@collabora.com, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH 18/27] arm64: dts: mediatek: mt6795: Add support for IOMMU and LARBs Date: Wed, 12 Apr 2023 13:27:30 +0200 Message-Id: <20230412112739.160376-19-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> References: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762970329855815449?= X-GMAIL-MSGID: =?utf-8?q?1762970329855815449?= Add nodes for the multimedia IOMMU and its LARBs: this includes all but the MJC LARB, which cannot currently be used and will be added later. Signed-off-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt6795.dtsi | 60 ++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt6795.dtsi b/arch/arm64/boot/dts/mediatek/mt6795.dtsi index a8b2c4517e79..9cfa02085f61 100644 --- a/arch/arm64/boot/dts/mediatek/mt6795.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt6795.dtsi @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include @@ -390,6 +391,17 @@ systimer: timer@10200670 { clock-names = "clk13m"; }; + iommu: iommu@10205000 { + compatible = "mediatek,mt6795-m4u"; + reg = <0 0x10205000 0 0x1000>; + clocks = <&infracfg CLK_INFRA_M4U>; + clock-names = "bclk"; + interrupts = ; + mediatek,larbs = <&larb0 &larb1 &larb2 &larb3>; + power-domains = <&spm MT6795_POWER_DOMAIN_MM>; + #iommu-cells = <1>; + }; + apmixedsys: syscon@10209000 { compatible = "mediatek,mt6795-apmixedsys", "syscon"; reg = <0 0x10209000 0 0x1000>; @@ -648,16 +660,64 @@ mmsys: syscon@14000000 { mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0 0x1000>; }; + larb0: larb@14021000 { + compatible = "mediatek,mt6795-smi-larb"; + reg = <0 0x14021000 0 0x1000>; + clocks = <&mmsys CLK_MM_SMI_COMMON>, <&mmsys CLK_MM_SMI_LARB0>; + clock-names = "apb", "smi"; + mediatek,smi = <&smi_common>; + mediatek,larb-id = <0>; + power-domains = <&spm MT6795_POWER_DOMAIN_MM>; + }; + + smi_common: smi@14022000 { + compatible = "mediatek,mt6795-smi-common"; + reg = <0 0x14022000 0 0x1000>; + power-domains = <&spm MT6795_POWER_DOMAIN_MM>; + clocks = <&infracfg CLK_INFRA_SMI>, <&mmsys CLK_MM_SMI_COMMON>; + clock-names = "apb", "smi"; + }; + + larb2: larb@15001000 { + compatible = "mediatek,mt6795-smi-larb"; + reg = <0 0x15001000 0 0x1000>; + clocks = <&mmsys CLK_MM_SMI_COMMON>, <&infracfg CLK_INFRA_SMI>; + clock-names = "apb", "smi"; + mediatek,smi = <&smi_common>; + mediatek,larb-id = <2>; + power-domains = <&spm MT6795_POWER_DOMAIN_ISP>; + }; + vdecsys: clock-controller@16000000 { compatible = "mediatek,mt6795-vdecsys"; reg = <0 0x16000000 0 0x1000>; #clock-cells = <1>; }; + larb1: larb@16010000 { + compatible = "mediatek,mt6795-smi-larb"; + reg = <0 0x16010000 0 0x1000>; + mediatek,smi = <&smi_common>; + mediatek,larb-id = <1>; + clocks = <&vdecsys CLK_VDEC_CKEN>, <&vdecsys CLK_VDEC_LARB_CKEN>; + clock-names = "apb", "smi"; + power-domains = <&spm MT6795_POWER_DOMAIN_VDEC>; + }; + vencsys: clock-controller@18000000 { compatible = "mediatek,mt6795-vencsys"; reg = <0 0x18000000 0 0x1000>; #clock-cells = <1>; }; + + larb3: larb@18001000 { + compatible = "mediatek,mt6795-smi-larb"; + reg = <0 0x18001000 0 0x1000>; + clocks = <&vencsys CLK_VENC_VENC>, <&vencsys CLK_VENC_LARB>; + clock-names = "apb", "smi"; + mediatek,smi = <&smi_common>; + mediatek,larb-id = <3>; + power-domains = <&spm MT6795_POWER_DOMAIN_VENC>; + }; }; }; From patchwork Wed Apr 12 11:27:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 82396 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp251661vqo; Wed, 12 Apr 2023 04:33:36 -0700 (PDT) X-Google-Smtp-Source: AKy350YcSpyGWVf45ooa6yeVJDuITnXp/0iWjx2LsfnxZnBGe4t/4OG1pi3bI10ruDIrGlhPmFX6 X-Received: by 2002:a17:90a:e7c3:b0:233:f786:35ca with SMTP id kb3-20020a17090ae7c300b00233f78635camr17261019pjb.35.1681299216243; Wed, 12 Apr 2023 04:33:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681299216; cv=none; d=google.com; s=arc-20160816; b=QaAsEuZiyjjj6LaEH0Uv0ESHwuxYtsL+YJMJjbFI/NIVGMlqexPnnz+f9wFaoHp0Pk UrM684PGojuUrsqKbEcpsFEe7KWiFCSP6anj8S2NQ76j80thhmOrAj622BfEilI3bUiI uJgXg5l1rp4bPhzmoCB6tqdjiR3ny1NJJjgRS2G9w7cimkWWSg/TMi3z9207meRs8hZr kQFDV0Q5v1nZGHMgBNTeJA0eZa8rE+k3FkrBQAirWnjmZnZamotGRjqa9eMkkNm5giiN WzpVpQVcGisCtBJaX8dkfFhGYZhQGTMSnSAmCMPU7jxC1ipC5n1evLMxyktcALI/6Oot 1STg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=KSY+hwX/VFQw5SuF/hkilAMvJwejpyRo786+3482hi8=; b=J7Wp4qVD14ler3nR0b03Tqv6VfJRyRTm9oiN5QN3WQMVCqDXmaXGEmnmyL7xp8iDKM llDMacW7PtiQ+51aYK3pfGRKK28hxFRzlIEhCpq6tPP7EQefIT4Z4ivhdzTtXxVauvFm I+yoplrVxYtb8g1lVWIJ04OSIuXELlyHub0jwGw8mXrjnv5zvTqsJuMvk/7IsX1hUivo ZTSFK6qzNcEbm8NWJIr7pw/IpY1dkmUJNTMCY7JbLD4AiYGSd24XrK5ZJTou5fXQH56N pVKHDaArHtxy5CyJGqnbFmub1548B8Jwjg+YfFJKclM/Fym0E8GUhSVJfHuiKQL3oGpp rM1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=JyRlZaGa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 129-20020a630287000000b00502d6b2edd4si15762425pgc.804.2023.04.12.04.33.24; Wed, 12 Apr 2023 04:33:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=JyRlZaGa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231585AbjDLL3S (ORCPT + 99 others); Wed, 12 Apr 2023 07:29:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231519AbjDLL2v (ORCPT ); Wed, 12 Apr 2023 07:28:51 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B57158A42; Wed, 12 Apr 2023 04:28:13 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 012D366057AD; Wed, 12 Apr 2023 12:28:10 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681298892; bh=07L8L+COY4Oza9QPgGeEH5iNgesuCz5mZ4a5YXV83pI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JyRlZaGaVSHTM25xucD0PmNI2Qjnihirr9j2cKgOeWZDZ7+AJ7QHQHNuzEXYfkUqa l3jxNBbNLid0slAcA6W4C231+dChTOFS/V/JAhMdY9WcPamKrugb9MWm8j5WtKN8hL w40z5qiEObvmHSQ4bnVcJtH+Q5his1cAtbOMYX474ZLwIoSEGLQbThOKgIJyVc9utG csyuc0DOsnY8otZ2xpPrRZVDlhm/wKaxJNQ2Mk5tgMgzGJbFo9tejrcbkdNx+bCaUq Y0RumxZP/vOS4/R/D+qALE+U2eZoltFgmkmiHJMqmmmvWKEhwZ930gpTh1fBOmtFWX /VgLgn2DjGhhA== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jassisinghbrar@gmail.com, chunfeng.yun@mediatek.com, vkoul@kernel.org, kishon@kernel.org, thierry.reding@gmail.com, u.kleine-koenig@pengutronix.de, chunkuang.hu@kernel.org, angelogioacchino.delregno@collabora.com, ck.hu@mediatek.com, jitao.shi@mediatek.com, xinlei.lee@mediatek.com, houlong.wei@mediatek.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, linux-pwm@vger.kernel.org, kernel@collabora.com, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH 19/27] arm64: dts: mediatek: mt6795: Add support for display blocks and DPI/DSI Date: Wed, 12 Apr 2023 13:27:31 +0200 Message-Id: <20230412112739.160376-20-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> References: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762970006958881748?= X-GMAIL-MSGID: =?utf-8?q?1762970006958881748?= Introduce all nodes for all of the display blocks in the MediaTek Helio X10 MT6795 SoC, including the DSI PHY and DSI/DPI interfaces: those are left disabled as usage is board specific. Signed-off-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt6795.dtsi | 249 +++++++++++++++++++++++ 1 file changed, 249 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt6795.dtsi b/arch/arm64/boot/dts/mediatek/mt6795.dtsi index 9cfa02085f61..cf45cb4ad3d2 100644 --- a/arch/arm64/boot/dts/mediatek/mt6795.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt6795.dtsi @@ -19,6 +19,23 @@ / { #address-cells = <2>; #size-cells = <2>; + aliases { + ovl0 = &ovl0; + ovl1 = &ovl1; + rdma0 = &rdma0; + rdma1 = &rdma1; + rdma2 = &rdma2; + wdma0 = &wdma0; + wdma1 = &wdma1; + color0 = &color0; + color1 = &color1; + split0 = &split0; + split1 = &split1; + dpi0 = &dpi0; + dsi0 = &dsi0; + dsi1 = &dsi1; + }; + psci { compatible = "arm,psci-0.2"; method = "smc"; @@ -423,6 +440,26 @@ gce: mailbox@10212000 { #mbox-cells = <2>; }; + mipi_tx0: dsi-phy@10215000 { + compatible = "mediatek,mt8173-mipi-tx"; + reg = <0 0x10215000 0 0x1000>; + clocks = <&clk26m>; + clock-output-names = "mipi_tx0_pll"; + #clock-cells = <0>; + #phy-cells = <0>; + status = "disabled"; + }; + + mipi_tx1: dsi-phy@10216000 { + compatible = "mediatek,mt8173-mipi-tx"; + reg = <0 0x10216000 0 0x1000>; + clocks = <&clk26m>; + clock-output-names = "mipi_tx1_pll"; + #clock-cells = <0>; + #phy-cells = <0>; + status = "disabled"; + }; + gic: interrupt-controller@10221000 { compatible = "arm,gic-400"; #interrupt-cells = <3>; @@ -660,6 +697,211 @@ mmsys: syscon@14000000 { mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0 0x1000>; }; + ovl0: ovl@1400c000 { + compatible = "mediatek,mt6795-disp-ovl", "mediatek,mt8173-disp-ovl"; + reg = <0 0x1400c000 0 0x1000>; + interrupts = ; + power-domains = <&spm MT6795_POWER_DOMAIN_MM>; + clocks = <&mmsys CLK_MM_DISP_OVL0>; + iommus = <&iommu M4U_PORT_DISP_OVL0>; + mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0xc000 0x1000>; + }; + + ovl1: ovl@1400d000 { + compatible = "mediatek,mt6795-disp-ovl", "mediatek,mt8173-disp-ovl"; + reg = <0 0x1400d000 0 0x1000>; + interrupts = ; + power-domains = <&spm MT6795_POWER_DOMAIN_MM>; + clocks = <&mmsys CLK_MM_DISP_OVL1>; + iommus = <&iommu M4U_PORT_DISP_OVL1>; + mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0xd000 0x1000>; + }; + + rdma0: rdma@1400e000 { + compatible = "mediatek,mt6795-disp-rdma", "mediatek,mt8173-disp-rdma"; + reg = <0 0x1400e000 0 0x1000>; + interrupts = ; + power-domains = <&spm MT6795_POWER_DOMAIN_MM>; + clocks = <&mmsys CLK_MM_DISP_RDMA0>; + iommus = <&iommu M4U_PORT_DISP_RDMA0>; + mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0xe000 0x1000>; + }; + + rdma1: rdma@1400f000 { + compatible = "mediatek,mt6795-disp-rdma", "mediatek,mt8173-disp-rdma"; + reg = <0 0x1400f000 0 0x1000>; + interrupts = ; + power-domains = <&spm MT6795_POWER_DOMAIN_MM>; + clocks = <&mmsys CLK_MM_DISP_RDMA1>; + iommus = <&iommu M4U_PORT_DISP_RDMA1>; + mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0xf000 0x1000>; + }; + + rdma2: rdma@14010000 { + compatible = "mediatek,mt6795-disp-rdma", "mediatek,mt8173-disp-rdma"; + reg = <0 0x14010000 0 0x1000>; + interrupts = ; + power-domains = <&spm MT6795_POWER_DOMAIN_MM>; + clocks = <&mmsys CLK_MM_DISP_RDMA2>; + iommus = <&iommu M4U_PORT_DISP_RDMA2>; + mediatek,gce-client-reg = <&gce SUBSYS_1401XXXX 0 0x1000>; + }; + + wdma0: wdma@14011000 { + compatible = "mediatek,mt6795-disp-wdma", "mediatek,mt8173-disp-wdma"; + reg = <0 0x14011000 0 0x1000>; + interrupts = ; + power-domains = <&spm MT6795_POWER_DOMAIN_MM>; + clocks = <&mmsys CLK_MM_DISP_WDMA0>; + iommus = <&iommu M4U_PORT_DISP_WDMA0>; + mediatek,gce-client-reg = <&gce SUBSYS_1401XXXX 0x1000 0x1000>; + }; + + wdma1: wdma@14012000 { + compatible = "mediatek,mt6795-disp-wdma", "mediatek,mt8173-disp-wdma"; + reg = <0 0x14012000 0 0x1000>; + interrupts = ; + power-domains = <&spm MT6795_POWER_DOMAIN_MM>; + clocks = <&mmsys CLK_MM_DISP_WDMA1>; + iommus = <&iommu M4U_PORT_DISP_WDMA1>; + mediatek,gce-client-reg = <&gce SUBSYS_1401XXXX 0x2000 0x1000>; + }; + + color0: color@14013000 { + compatible = "mediatek,mt6795-disp-color", "mediatek,mt8173-disp-color"; + reg = <0 0x14013000 0 0x1000>; + interrupts = ; + power-domains = <&spm MT6795_POWER_DOMAIN_MM>; + clocks = <&mmsys CLK_MM_DISP_COLOR0>; + mediatek,gce-client-reg = <&gce SUBSYS_1401XXXX 0x3000 0x1000>; + }; + + color1: color@14014000 { + compatible = "mediatek,mt6795-disp-color", "mediatek,mt8173-disp-color"; + reg = <0 0x14014000 0 0x1000>; + interrupts = ; + power-domains = <&spm MT6795_POWER_DOMAIN_MM>; + clocks = <&mmsys CLK_MM_DISP_COLOR1>; + mediatek,gce-client-reg = <&gce SUBSYS_1401XXXX 0x4000 0x1000>; + }; + + aal@14015000 { + compatible = "mediatek,mt6795-disp-aal", "mediatek,mt8173-disp-aal"; + reg = <0 0x14015000 0 0x1000>; + interrupts = ; + power-domains = <&spm MT6795_POWER_DOMAIN_MM>; + clocks = <&mmsys CLK_MM_DISP_AAL>; + mediatek,gce-client-reg = <&gce SUBSYS_1401XXXX 0x5000 0x1000>; + }; + + gamma@14016000 { + compatible = "mediatek,mt6795-disp-gamma", "mediatek,mt8173-disp-gamma"; + reg = <0 0x14016000 0 0x1000>; + interrupts = ; + power-domains = <&spm MT6795_POWER_DOMAIN_MM>; + clocks = <&mmsys CLK_MM_DISP_GAMMA>; + mediatek,gce-client-reg = <&gce SUBSYS_1401XXXX 0x6000 0x1000>; + }; + + merge@14017000 { + compatible = "mediatek,mt6795-disp-merge", "mediatek,mt8173-disp-merge"; + reg = <0 0x14017000 0 0x1000>; + power-domains = <&spm MT6795_POWER_DOMAIN_MM>; + clocks = <&mmsys CLK_MM_DISP_MERGE>; + }; + + split0: split@14018000 { + compatible = "mediatek,mt6795-disp-split", "mediatek,mt8173-disp-split"; + reg = <0 0x14018000 0 0x1000>; + power-domains = <&spm MT6795_POWER_DOMAIN_MM>; + clocks = <&mmsys CLK_MM_DISP_SPLIT0>; + }; + + split1: split@14019000 { + compatible = "mediatek,mt6795-disp-split", "mediatek,mt8173-disp-split"; + reg = <0 0x14019000 0 0x1000>; + power-domains = <&spm MT6795_POWER_DOMAIN_MM>; + clocks = <&mmsys CLK_MM_DISP_SPLIT1>; + }; + + ufoe@1401a000 { + compatible = "mediatek,mt6795-disp-ufoe", "mediatek,mt8173-disp-ufoe"; + reg = <0 0x1401a000 0 0x1000>; + interrupts = ; + power-domains = <&spm MT6795_POWER_DOMAIN_MM>; + clocks = <&mmsys CLK_MM_DISP_UFOE>; + mediatek,gce-client-reg = <&gce SUBSYS_1401XXXX 0xa000 0x1000>; + }; + + dsi0: dsi@1401b000 { + compatible = "mediatek,mt6795-dsi", "mediatek,mt8173-dsi"; + reg = <0 0x1401b000 0 0x1000>; + interrupts = ; + power-domains = <&spm MT6795_POWER_DOMAIN_MM>; + clocks = <&mmsys CLK_MM_DSI0_ENGINE>, + <&mmsys CLK_MM_DSI0_DIGITAL>, + <&mipi_tx0>; + clock-names = "engine", "digital", "hs"; + phys = <&mipi_tx0>; + phy-names = "dphy"; + status = "disabled"; + }; + + dsi1: dsi@1401c000 { + compatible = "mediatek,mt6795-dsi", "mediatek,mt8173-dsi"; + reg = <0 0x1401c000 0 0x1000>; + interrupts = ; + power-domains = <&spm MT6795_POWER_DOMAIN_MM>; + clocks = <&mmsys CLK_MM_DSI1_ENGINE>, + <&mmsys CLK_MM_DSI1_DIGITAL>, + <&mipi_tx1>; + clock-names = "engine", "digital", "hs"; + phys = <&mipi_tx1>; + phy-names = "dphy"; + status = "disabled"; + }; + + dpi0: dpi@1401d000 { + compatible = "mediatek,mt6795-dpi", "mediatek,mt8173-dpi"; + reg = <0 0x1401d000 0 0x1000>; + interrupts = ; + power-domains = <&spm MT6795_POWER_DOMAIN_MM>; + clocks = <&mmsys CLK_MM_DPI_PIXEL>, + <&mmsys CLK_MM_DPI_ENGINE>, + <&apmixedsys CLK_APMIXED_TVDPLL>; + clock-names = "pixel", "engine", "pll"; + status = "disabled"; + }; + + pwm0: pwm@1401e000 { + compatible = "mediatek,mt6595-disp-pwm", "mediatek,mt8173-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"; + status = "disabled"; + }; + + pwm1: pwm@1401f000 { + compatible = "mediatek,mt6595-disp-pwm", "mediatek,mt8173-disp-pwm"; + reg = <0 0x1401f000 0 0x1000>; + #pwm-cells = <2>; + clocks = <&mmsys CLK_MM_DISP_PWM126M>, <&mmsys CLK_MM_DISP_PWM1MM>; + clock-names = "main", "mm"; + status = "disabled"; + }; + + mutex: mutex@14020000 { + compatible = "mediatek,mt8173-disp-mutex"; + reg = <0 0x14020000 0 0x1000>; + interrupts = ; + power-domains = <&spm MT6795_POWER_DOMAIN_MM>; + clocks = <&mmsys CLK_MM_MUTEX_32K>; + mediatek,gce-events = , + ; + mediatek,gce-client-reg = <&gce SUBSYS_1402XXXX 0 0x1000>; + }; + larb0: larb@14021000 { compatible = "mediatek,mt6795-smi-larb"; reg = <0 0x14021000 0 0x1000>; @@ -678,6 +920,13 @@ smi_common: smi@14022000 { clock-names = "apb", "smi"; }; + od@14023000 { + compatible = "mediatek,mt6795-disp-od", "mediatek,mt8173-disp-od"; + reg = <0 0x14023000 0 0x1000>; + clocks = <&mmsys CLK_MM_DISP_OD>; + mediatek,gce-client-reg = <&gce SUBSYS_1402XXXX 0x3000 0x1000>; + }; + larb2: larb@15001000 { compatible = "mediatek,mt6795-smi-larb"; reg = <0 0x15001000 0 0x1000>; From patchwork Wed Apr 12 11:27:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 82398 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp252966vqo; Wed, 12 Apr 2023 04:35:54 -0700 (PDT) X-Google-Smtp-Source: AKy350YY4bZuwtkLPLSXvy+iddb/LAJl3xDEu7E/Dj53rYADymAdBNYxKeQLNM4RZhipst7gvB/y X-Received: by 2002:a17:902:6b04:b0:1a2:87a2:c910 with SMTP id o4-20020a1709026b0400b001a287a2c910mr17414051plk.53.1681299354530; Wed, 12 Apr 2023 04:35:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681299354; cv=none; d=google.com; s=arc-20160816; b=hF9UO4kUE5rN5VFKYvYPz6HM/pqKPFZ6QpgUkx57qYsZlLoAw2FNCxgg6cl6UNo4gH UMu49gdKRK9XcmDNUwM46dqX2U1Bw2VjaPA0uM1GUZUvgEurvHTCHx9JUtzhe1fAgb/Y Zy0TMY+1EXShXZ6DKImJ8qU9s1qS/HXZb5BSs/7Hjoo9HyHWvRY05sZueQ964Qi6vi9r 4Dw7HAvENTWcZTzATWwHvAiHgk6KTIUyYPYY72sYr60llXTRctSpHYQ2aQfNZXqXH04C MtTze9j8nsPk1bdesghn8hBrQ0RGWMxS2zYKoFJSLVNGXIGAyNpbQdG4eKfv6zkoY3ws 5pSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=CQzFRnWtaT6DTFcZx60w2EbHN3l3GGPcsJVcjVIKmls=; b=J/ts2P87bktES5MigDKBYyIMAX0BUj86K4J+6pXzN2qyDX9kMatT3lJGugWwY5/qGL J9GKnjVnufui0aY+Wr9n5BvXTfmgRPLkSXkMqPdSJcWtWn00PpUFI1+LXQ0KdO8ah9UZ JYRMKrvzSt4HGsstIhAiNX3fShnb7313Byr+GJU4FLpUUXKPRqf1e4v5zJ5dLivR2zqS RlbZxxCHZPxLvFzOu25J1PxwtCf/f0SOZCHY9lbOhHUPUquHTs8Q1mEZPEsvtGLoFnVH MNmkpkhwiSaixaU6l/VQ4jeUUfXzRRGJQtNqFst1jWoYxQv2Bbzif/bylDB3/+6fiFRH HkFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=DoAp7wTI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l11-20020a170903120b00b001a1b5dc97f0si17708484plh.270.2023.04.12.04.35.42; Wed, 12 Apr 2023 04:35:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=DoAp7wTI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231138AbjDLL32 (ORCPT + 99 others); Wed, 12 Apr 2023 07:29:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231526AbjDLL2v (ORCPT ); Wed, 12 Apr 2023 07:28:51 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2DA98A78; Wed, 12 Apr 2023 04:28:14 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 65634660322C; Wed, 12 Apr 2023 12:28:12 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681298893; bh=FBEtOJ4WIs2BY9QNkotVKZUvt7CQzM53jFa4FvLuaOU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DoAp7wTIj1oqZn671PpiSDWzBbaVQ4ovQGo02MLSH9jh2QhQzCG/mpRMzm0xRzhrr v9+b7inz9dkg+vX6tWhbS93utWRW+io95SFdVmlDy/JZ1Oypsn7EF3Zo9KxnWrqQN5 Ih9qxPG5xZ6/xcjq+KpEWcpHf5SRXFI7GTDfCuKthurFADfPnKBEyLjEV/794Ui4fB FFxpuexeNlO4cpeYi+AsEGgPtSGgsrGJ97cHLaOVhv73lN9BStPj/13Tju1jXh/NMr ehMlB9AcJcIqYo0loEHD9jY9AOOK9/NgAh41AsuP5iYysfQWtfB3kaz3PffcnP9a9E zYnotGletuYNA== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jassisinghbrar@gmail.com, chunfeng.yun@mediatek.com, vkoul@kernel.org, kishon@kernel.org, thierry.reding@gmail.com, u.kleine-koenig@pengutronix.de, chunkuang.hu@kernel.org, angelogioacchino.delregno@collabora.com, ck.hu@mediatek.com, jitao.shi@mediatek.com, xinlei.lee@mediatek.com, houlong.wei@mediatek.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, linux-pwm@vger.kernel.org, kernel@collabora.com, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH 20/27] arm64: dts: mediatek: mt6795: Add tertiary PWM node Date: Wed, 12 Apr 2023 13:27:32 +0200 Message-Id: <20230412112739.160376-21-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> References: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762970151795024577?= X-GMAIL-MSGID: =?utf-8?q?1762970151795024577?= The PWM at 0x11006000 is the tertiary PWM; unlike PWM0, PWM1, this is not display specific and can be used as a generic PWM controller. This node is left disabled as usage is board-specific. Signed-off-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt6795.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt6795.dtsi b/arch/arm64/boot/dts/mediatek/mt6795.dtsi index cf45cb4ad3d2..50d9276d18c6 100644 --- a/arch/arm64/boot/dts/mediatek/mt6795.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt6795.dtsi @@ -583,6 +583,25 @@ uart3: serial@11005000 { status = "disabled"; }; + pwm2: pwm@11006000 { + compatible = "mediatek,mt6795-pwm"; + reg = <0 0x11006000 0 0x1000>; + #pwm-cells = <2>; + interrupts = ; + clocks = <&topckgen CLK_TOP_PWM_SEL>, + <&pericfg CLK_PERI_PWM>, + <&pericfg CLK_PERI_PWM1>, + <&pericfg CLK_PERI_PWM2>, + <&pericfg CLK_PERI_PWM3>, + <&pericfg CLK_PERI_PWM4>, + <&pericfg CLK_PERI_PWM5>, + <&pericfg CLK_PERI_PWM6>, + <&pericfg CLK_PERI_PWM7>; + clock-names = "top", "main", "pwm1", "pwm2", "pwm3", + "pwm4", "pwm5", "pwm6", "pwm7"; + status = "disabled"; + }; + i2c0: i2c@11007000 { compatible = "mediatek,mt6795-i2c", "mediatek,mt8173-i2c"; reg = <0 0x11007000 0 0x70>, <0 0x11000100 0 0x80>; From patchwork Wed Apr 12 11:27:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 82405 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp256243vqo; Wed, 12 Apr 2023 04:42:20 -0700 (PDT) X-Google-Smtp-Source: AKy350Yhm7Nb3OjIxy8G0K1P42DxyKiaHD4XGBtDQehEw+5PsD8sN0djjchM2mTMBG60rhlklLwK X-Received: by 2002:a17:902:c792:b0:1a6:4c2b:9e6f with SMTP id w18-20020a170902c79200b001a64c2b9e6fmr6122344pla.50.1681299739948; Wed, 12 Apr 2023 04:42:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681299739; cv=none; d=google.com; s=arc-20160816; b=UwDz7vum5BNZlzg7me9t+7a1UbziOh09ZgOAbbcoow4RpBV2AkUb1MLEyZFqIwd/Dp ii8s1v5m/kUJL7l51WyYL28nqKjxTtyPba9ey39mLoMdc1EiFI6E+WNv4JCkh5qwRM06 mz7M8ALk7nnbfz21Zad7LvEQJUPmZ3pergWuKTInLXawiEJhnS4zvxRcn0X2h6WdcpOE oMBaKAyP/Dqo57wC94bsUXNMnrn5c01r4tKknuxAQVl6p+i+22SyZre2UGrk8ef/+X7I +AMEx+f+UMTWNpHXJQzRqISnqqvLXsdjDeumxgkkJHu3gS0jT1i5fYDM9KRJMAMN/dra LhSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=1YjsA4m7oQ9IqldPjQqXlpVdzhCNI99+mXskyH4fR/Q=; b=Av551xeFCvAG/6LoQDfU25eAFYsSdGaIDWZp6W/jV5DGeiagF7oIyp8QnVyC6HMTYt afn1LrJeOgdVbjQ96eKB4gleD1jf/bpPZ9CUk/8CzFCUiR6Zi33JxT5sLDvRXfqna8sF WK0+xplUd0HIHcxppEJWiG3dJq2blmqqvIW26siMi9B13deLDni/BGP+6+hwZLM04OZD poXsL2SU1wLJkLla6yDxTR9t5ECC2cOTsZKuHcDY4HXz3Qxwjh6DY+xG7IxUYj6PRWcr xMNFbNO9ysfYRaGsSRbz3+4T3F2myQZ/tfw/9TinAQpTkydBxdiDauzVbsxbnZ1W4s4i 0chA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=USPyrLGQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f18-20020a635552000000b005132b086eddsi15139056pgm.279.2023.04.12.04.42.08; Wed, 12 Apr 2023 04:42:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=USPyrLGQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231625AbjDLL3k (ORCPT + 99 others); Wed, 12 Apr 2023 07:29:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231405AbjDLL3A (ORCPT ); Wed, 12 Apr 2023 07:29:00 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2A8B8A49; Wed, 12 Apr 2023 04:28:16 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id C6A0066058AD; Wed, 12 Apr 2023 12:28:13 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681298895; bh=GDKZQ67J0y6mdLDj0BABrBY5g8TxhLW2mBwCl/mxgGQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=USPyrLGQvib/VqoSxzNh1ByE6Zrr7sFSutJabzc9WhYYc/x/VpCTGKKAOEc0UMOuK Rnt7i8WXOD5hJhzh1o95KJm9bkyeCFrDnxuskXkmJq4952fh+xYaJUDRHzuw8V1oHC EUnmGBIayDtvV9txyr1hCII0h5UHXhlF1Vi5gW2deQlk1MD9MmlBcuOs/7BPpy7RRI cjkKdSYHQ69s6yN4h+91GhmNywZq/EYwq5EvsT5TnkgPvy8QQ3FmqC2ZqDjR9iqM67 2j2McbHXbS4IiXpjR306aI3y39j5RSfy783/BSAU2LHTWjdinnUpXQ8DwjIJ5V4jIa 405BvuAl3FcFA== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jassisinghbrar@gmail.com, chunfeng.yun@mediatek.com, vkoul@kernel.org, kishon@kernel.org, thierry.reding@gmail.com, u.kleine-koenig@pengutronix.de, chunkuang.hu@kernel.org, angelogioacchino.delregno@collabora.com, ck.hu@mediatek.com, jitao.shi@mediatek.com, xinlei.lee@mediatek.com, houlong.wei@mediatek.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, linux-pwm@vger.kernel.org, kernel@collabora.com, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH 21/27] arm64: dts: mediatek: mt6795: Add PMIC Wrapper node Date: Wed, 12 Apr 2023 13:27:33 +0200 Message-Id: <20230412112739.160376-22-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> References: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762970556021057975?= X-GMAIL-MSGID: =?utf-8?q?1762970556021057975?= Add the pwrap node: this is used to communicate with the PMIC(s). Signed-off-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt6795.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt6795.dtsi b/arch/arm64/boot/dts/mediatek/mt6795.dtsi index 50d9276d18c6..29ca9a7bf0b3 100644 --- a/arch/arm64/boot/dts/mediatek/mt6795.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt6795.dtsi @@ -391,6 +391,17 @@ timer: timer@10008000 { clocks = <&system_clk>, <&clk32k>; }; + pwrap: pwrap@1000d000 { + compatible = "mediatek,mt6795-pwrap"; + reg = <0 0x1000d000 0 0x1000>; + reg-names = "pwrap"; + interrupts = ; + resets = <&infracfg MT6795_INFRA_RST0_PMIC_WRAP_RST>; + reset-names = "pwrap"; + clocks = <&topckgen CLK_TOP_PMICSPI_SEL>, <&clk26m>; + clock-names = "spi", "wrap"; + }; + sysirq: intpol-controller@10200620 { compatible = "mediatek,mt6795-sysirq", "mediatek,mt6577-sysirq"; From patchwork Wed Apr 12 11:27:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 82424 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp260621vqo; Wed, 12 Apr 2023 04:50:56 -0700 (PDT) X-Google-Smtp-Source: AKy350bPBZG33xFJl9Oz1PewD5X4YgxxDX7qk4WN8+MoVlwxXV25HpeGu5eDNCmBgCk1E9scjOcD X-Received: by 2002:a05:6a20:b127:b0:da:2dc:5642 with SMTP id ed39-20020a056a20b12700b000da02dc5642mr13140809pzb.58.1681300255990; Wed, 12 Apr 2023 04:50:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681300255; cv=none; d=google.com; s=arc-20160816; b=kGlrNpTQvVSDRGPrOxdce8iV7tzlPyCxZtksK0/qQsN3DvJ7+Ah9UUrYGs0ktCVmFs MTk/NqcUYr0lwve5+vtC4XwSP8Vng6YkToxRx+BDZbyr2vGhYP1DxAgW/VKzrUBTS2L2 BL9Ehg8HFRTaBKICHAHaIMhhB8pYCp58fPoVxI2g/ljYONWp6DG5RzQLR4MPBwQHiE9U 4/0Tq0x6T622AU0wfuwurwJpEMTF6VN3PbH92FLCo0ibbYiY5wjMNQA+TYs5VNltqqP2 gNtvTtgd4bOgJ92DOJ90NjIe623madCLIRPnoaCdkhR8GITI2oyD+Z6CZ/UvforuP82B SW6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=GCcjbbIuyZRzKzsz62FfTBorbo5HD7zq/nnd3mD/gGk=; b=TexJLkij+ugb+M164mHZ8ZeB7I6YkX7fsaa68qIiPiR5D/KqIyU0ITACtxOIgh1bYo zYZRd0YzRQMaTxWXpLmaD1hk0lxJTZ3D/woSKmynYptODup3uClXyfUrty/wwx37Tqh5 lMHS7Xp29jfeB0fwJDEO8QVTr8Kkexo9eV/ma05nw4yEOHIXf6yBGyWaQSrP5RNY0DWx xBSbNSHHDRJDgNYpb542QLEi+/LG7sPXxyMLT05m9lIrKOURhBi51PjXlFxluPVNe3Ot KNuSbGgC+jTG0Adw7MPZZ2R7ONeVfs7uiAkAbw4DkQRJt5MHvg82oOAFittZfRLadrnr k9GQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=BC9wOXXS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r15-20020a63440f000000b0051b28ed8e0asi2534373pga.540.2023.04.12.04.50.42; Wed, 12 Apr 2023 04:50:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=BC9wOXXS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231634AbjDLL3r (ORCPT + 99 others); Wed, 12 Apr 2023 07:29:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231472AbjDLL3B (ORCPT ); Wed, 12 Apr 2023 07:29:01 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 413DD1FEA; Wed, 12 Apr 2023 04:28:18 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 35F2A6605907; Wed, 12 Apr 2023 12:28:15 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681298896; bh=6+ku0t7QQ3o8I45kDBxQ7CK/wmywqWuikBCJBzXicFU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BC9wOXXS2Wg5UQX3J6QI+t+adSMFAcp7CuNoqqQfLnC2NuPCgwD6QJ5FmrjQoU0Vn KTA38i8ICb8QbAB354DKtQDxziHS1EiDtkJZnX41MUKovQASq90b6DNPWI67E1+vuH oQ+6IMw/LTXrMsOR1DQHFjHvHWhat7WTQTtMgP4saQIB2Ym/wFDurmEOmjijRUTy7+ qpKZNGaAcFmZea5JMTpyVRFea/TX5oLkS8BBZsjKHIdFQVZ6WhTkoVzj9N8PwEgLtj IaBK6mQXFlB387ZzCRDuHUL4xikZGzpgXjFB3x6CLH1+PM1GdDAbZysZ1XzoCZ39Xb qytCte42DlMOQ== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jassisinghbrar@gmail.com, chunfeng.yun@mediatek.com, vkoul@kernel.org, kishon@kernel.org, thierry.reding@gmail.com, u.kleine-koenig@pengutronix.de, chunkuang.hu@kernel.org, angelogioacchino.delregno@collabora.com, ck.hu@mediatek.com, jitao.shi@mediatek.com, xinlei.lee@mediatek.com, houlong.wei@mediatek.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, linux-pwm@vger.kernel.org, kernel@collabora.com, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH 22/27] arm64: dts: mediatek: mt6795: Copyright header additions Date: Wed, 12 Apr 2023 13:27:34 +0200 Message-Id: <20230412112739.160376-23-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> References: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762971097472351909?= X-GMAIL-MSGID: =?utf-8?q?1762971097472351909?= I have added more than 800 lines to this devicetree: adding myself to the copyright header. Signed-off-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt6795.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt6795.dtsi b/arch/arm64/boot/dts/mediatek/mt6795.dtsi index 29ca9a7bf0b3..a4c950b65006 100644 --- a/arch/arm64/boot/dts/mediatek/mt6795.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt6795.dtsi @@ -2,6 +2,9 @@ /* * Copyright (c) 2015 MediaTek Inc. * Author: Mars.C + * + * Copyright (C) 2023 Collabora Ltd. + * AngeloGioacchino Del Regno */ #include From patchwork Wed Apr 12 11:27:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 82397 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp252914vqo; Wed, 12 Apr 2023 04:35:49 -0700 (PDT) X-Google-Smtp-Source: AKy350ZfF+OKUmORLUiGvpDf/stWBf6EyEIvULSMlTWVJ4lg7+55quT7VKpHdEKBVQXHbYbiZyhd X-Received: by 2002:a62:1712:0:b0:636:d5be:982f with SMTP id 18-20020a621712000000b00636d5be982fmr10565336pfx.6.1681299349352; Wed, 12 Apr 2023 04:35:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681299349; cv=none; d=google.com; s=arc-20160816; b=cw3LqaXEeyDUUzTk19MxJHfWxVUXjByAtt9CftvcAK2GLcz7YCLbbA+7UsHGj6UTG5 yxcgL85dpBjAm9xJkjd/svbotKRMMnYFbNrRkAn0PCVTvqvGgUd1b5GEIwavFCsLamap lvwIiPpWpY48lPDFPynh9qXMtepM0StyYfCd4XtZ0NBYDkuPeCuGArX74xqL4gtIzNqj 5oqQdCHKrIQadniIp0sjFCVFmE46BElQPUvV/gkHpQKjVxhN2JVRmhEP+Ww0a1xbO9K/ haMaREevflKjQOxsDPt/jP6O8+vIKQDaWRCVYrXsPDrTbFlfJlXFnd9sKOoIWb6zjIbg fS2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=zVM5uoUGB0Gp8dPeeI0djESR7YU+eE6G8BZ/l7OGfto=; b=SXxXgX8IsO3Un+OlLHnRQv/tvYSuDmMVRJsEFeNJBiQo2WzoBGUimbq/WIlrmvgsMW w0sexDxApg3pKGprOVp4SRAXGqc3KjQMwhGvkkby4prLLjIKsgVWRzPhbE6QK7c7+Ptq 8+7ozv9UVu12hvwlDzrhXMMVl3AOwPSZfq9HdCg3K7DWXfTB/4xBGgXZh1C2psbieIf4 kC0xnKAjfNnjjf1/y53fLydkiWnunM13/vxFwx6TZvFweeCg4YCO8yn1qluzCWfN0xVy msN3buMKjHvOyBzEGgoNOYSryvYCqYBgzgi8YKV1lyOMH8TZ7O0elkdlIHsS8XPtAK0h Ir+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=DDNXpZZN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r4-20020aa79884000000b0059d96ba730dsi16053651pfl.110.2023.04.12.04.35.37; Wed, 12 Apr 2023 04:35:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=DDNXpZZN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231280AbjDLLaD (ORCPT + 99 others); Wed, 12 Apr 2023 07:30:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231251AbjDLL3f (ORCPT ); Wed, 12 Apr 2023 07:29:35 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAC8593D7; Wed, 12 Apr 2023 04:28:28 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 99A6A6603218; Wed, 12 Apr 2023 12:28:16 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681298897; bh=SIiYIZu+Qhm3zKiTKfPHBsciu1M3MyEiqZRJOVy9F3U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DDNXpZZNAGm91/nzFYldQE2kVwRRWRvw1b3+Ny5PYw7hgA3Z8L7H49DfCrPmsodIi vpg1iNQUSke0Ozw31KNlTcTsm0F+SDs5lQYOdBNTzQosmT0a2FLAhyPsf3PLSb7+uO CgaLekoryNjNfqHXHefUKH+D5Apcw0VZ6cDrNHQHotesBp4TsA357+qWk5/HH6so7h nVJougGkvdlUkmPYC/giEuTU7q2cATWDJFrfd6tDxnhgD549VFnecLgEvqWYXhqo6m KwtLwV0/WoHh++UDjcCBCr2cA70ZqEtKI5FWucw6hwWTI9Qr00gHK8SIPWgIkLjzhc Ek2y4NVjRGuUQ== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jassisinghbrar@gmail.com, chunfeng.yun@mediatek.com, vkoul@kernel.org, kishon@kernel.org, thierry.reding@gmail.com, u.kleine-koenig@pengutronix.de, chunkuang.hu@kernel.org, angelogioacchino.delregno@collabora.com, ck.hu@mediatek.com, jitao.shi@mediatek.com, xinlei.lee@mediatek.com, houlong.wei@mediatek.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, linux-pwm@vger.kernel.org, kernel@collabora.com, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH 23/27] arm64: dts: mediatek: Add MT6331 PMIC devicetree Date: Wed, 12 Apr 2023 13:27:35 +0200 Message-Id: <20230412112739.160376-24-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> References: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762970146664572393?= X-GMAIL-MSGID: =?utf-8?q?1762970146664572393?= MT6331 is the primary PMIC for the MediaTek Helio X10 MT6795 smartphone platforms: add a devicetree describing its regulators, Real Time Clock and PMIC-keys. Signed-off-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt6331.dtsi | 284 +++++++++++++++++++++++ 1 file changed, 289 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt6331.dtsi diff --git a/arch/arm64/boot/dts/mediatek/mt6331.dtsi b/arch/arm64/boot/dts/mediatek/mt6331.dtsi new file mode 100644 index 000000000000..fcec8c07fe39 --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt6331.dtsi @@ -0,0 +1,284 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright (c) 2023 Collabora Ltd. + * Author: AngeloGioacchino Del Regno + */ +#include + +&pwrap { + pmic: mt6331 { + compatible = "mediatek,mt6331"; + interrupt-controller; + #interrupt-cells = <2>; + + mt6331regulator: mt6331regulator { + compatible = "mediatek,mt6331-regulator"; + + mt6331_vdvfs11_reg: buck-vdvfs11 { + regulator-name = "vdvfs11"; + regulator-min-microvolt = <700000>; + regulator-max-microvolt = <1493750>; + regulator-ramp-delay = <12500>; + regulator-enable-ramp-delay = <0>; + regulator-allowed-modes = <0 1>; + regulator-always-on; + }; + + mt6331_vdvfs12_reg: buck-vdvfs12 { + regulator-name = "vdvfs12"; + regulator-min-microvolt = <700000>; + regulator-max-microvolt = <1493750>; + regulator-ramp-delay = <12500>; + regulator-enable-ramp-delay = <0>; + regulator-allowed-modes = <0 1>; + regulator-always-on; + }; + + mt6331_vdvfs13_reg: buck-vdvfs13 { + regulator-name = "vdvfs13"; + regulator-min-microvolt = <700000>; + regulator-max-microvolt = <1493750>; + regulator-ramp-delay = <12500>; + regulator-enable-ramp-delay = <0>; + regulator-allowed-modes = <0 1>; + regulator-always-on; + }; + + mt6331_vdvfs14_reg: buck-vdvfs14 { + regulator-name = "vdvfs14"; + regulator-min-microvolt = <700000>; + regulator-max-microvolt = <1493750>; + regulator-ramp-delay = <12500>; + regulator-enable-ramp-delay = <0>; + regulator-allowed-modes = <0 1>; + regulator-always-on; + }; + + mt6331_vcore2_reg: buck-vcore2 { + regulator-name = "vcore2"; + regulator-min-microvolt = <700000>; + regulator-max-microvolt = <1493750>; + regulator-ramp-delay = <12500>; + regulator-enable-ramp-delay = <0>; + regulator-allowed-modes = <0 1>; + regulator-always-on; + }; + + mt6331_vio18_reg: buck-vio18 { + regulator-name = "vio18"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-ramp-delay = <12500>; + regulator-enable-ramp-delay = <0>; + regulator-allowed-modes = <0 1>; + regulator-always-on; + }; + + mt6331_vtcxo1_reg: ldo-vtcxo1 { + regulator-name = "vtcxo1"; + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2800000>; + regulator-ramp-delay = <0>; + regulator-always-on; + regulator-boot-on; + }; + + mt6331_vtcxo2_reg: ldo-vtcxo2 { + regulator-name = "vtcxo2"; + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2800000>; + regulator-ramp-delay = <0>; + regulator-always-on; + regulator-boot-on; + }; + + mt6331_avdd32_aud_reg: ldo-avdd32aud { + regulator-name = "avdd32_aud"; + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <3200000>; + regulator-ramp-delay = <0>; + regulator-always-on; + regulator-boot-on; + }; + + mt6331_vauxa32_reg: ldo-vauxa32 { + regulator-name = "vauxa32"; + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <3200000>; + regulator-ramp-delay = <0>; + }; + + mt6331_vcama_reg: ldo-vcama { + regulator-name = "vcama"; + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <2800000>; + regulator-ramp-delay = <0>; + }; + + mt6331_vio28_reg: ldo-vio28 { + regulator-name = "vio28"; + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2800000>; + regulator-ramp-delay = <0>; + regulator-always-on; + regulator-boot-on; + }; + + mt6331_vcamaf_reg: ldo-vcamaf { + regulator-name = "vcam_af"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <3300000>; + regulator-ramp-delay = <0>; + }; + + mt6331_vmc_reg: ldo-vmc { + regulator-name = "vmc"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-ramp-delay = <0>; + }; + + mt6331_vmch_reg: ldo-vmch { + regulator-name = "vmch"; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3300000>; + regulator-ramp-delay = <0>; + }; + + mt6331_vemc33_reg: ldo-vemc33 { + regulator-name = "vemc33"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-ramp-delay = <0>; + regulator-always-on; + }; + + mt6331_vgp1_reg: ldo-vgp1 { + regulator-name = "vgp1"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <3300000>; + regulator-ramp-delay = <0>; + regulator-always-on; + }; + + mt6331_vsim1_reg: ldo-vsim1 { + regulator-name = "vsim1"; + regulator-min-microvolt = <1700000>; + regulator-max-microvolt = <3100000>; + regulator-ramp-delay = <0>; + regulator-always-on; + }; + + mt6331_vsim2_reg: ldo-vsim2 { + regulator-name = "vsim2"; + regulator-min-microvolt = <1700000>; + regulator-max-microvolt = <3100000>; + regulator-ramp-delay = <0>; + }; + + mt6331_vmipi_reg: ldo-vmipi { + regulator-name = "vmipi"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <3300000>; + regulator-ramp-delay = <0>; + regulator-always-on; + }; + + mt6331_vibr_reg: ldo-vibr { + regulator-name = "vibr"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <3300000>; + regulator-ramp-delay = <0>; + }; + + mt6331_vgp4_reg: ldo-vgp4 { + regulator-name = "vgp4"; + regulator-min-microvolt = <1600000>; + regulator-max-microvolt = <2200000>; + regulator-ramp-delay = <0>; + regulator-always-on; + }; + + mt6331_vcamd_reg: ldo-vcamd { + regulator-name = "vcamd"; + regulator-min-microvolt = <900000>; + regulator-max-microvolt = <1500000>; + regulator-ramp-delay = <0>; + regulator-always-on; + }; + + mt6331_vusb10_reg: ldo-vusb10 { + regulator-name = "vusb"; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1300000>; + regulator-ramp-delay = <0>; + regulator-always-on; + regulator-boot-on; + }; + + mt6331_vcamio_reg: ldo-vcamio { + regulator-name = "vcam_io"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1800000>; + regulator-ramp-delay = <0>; + }; + + mt6331_vsram_reg: ldo-vsram { + regulator-name = "vsram"; + regulator-min-microvolt = <1012500>; + regulator-max-microvolt = <1012500>; + regulator-ramp-delay = <0>; + regulator-always-on; + regulator-boot-on; + }; + + mt6331_vgp2_reg: ldo-vgp2 { + regulator-name = "vgp2"; + regulator-min-microvolt = <1100000>; + regulator-max-microvolt = <1500000>; + regulator-ramp-delay = <0>; + regulator-always-on; + regulator-boot-on; + }; + + mt6331_vgp3_reg: ldo-vgp3 { + regulator-name = "vgp3"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1800000>; + regulator-ramp-delay = <0>; + regulator-always-on; + }; + + mt6331_vrtc_reg: ldo-vrtc { + regulator-name = "vrtc"; + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2800000>; + regulator-ramp-delay = <0>; + regulator-always-on; + }; + + mt6331_vdig18_reg: ldo-vdig18 { + regulator-name = "dvdd18_dig"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-ramp-delay = <0>; + regulator-always-on; + }; + }; + + mt6331rtc: mt6331rtc { + compatible = "mediatek,mt6331-rtc"; + }; + + mt6331keys: mt6331keys { + compatible = "mediatek,mt6331-keys"; + power { + linux,keycodes = ; + wakeup-source; + }; + home { + linux,keycodes = ; + }; + }; + }; +}; From patchwork Wed Apr 12 11:27:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 82417 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp259198vqo; Wed, 12 Apr 2023 04:48:07 -0700 (PDT) X-Google-Smtp-Source: AKy350bT81DN0r1o2HqQBbHvSzp/kZnfd0a8cD9EYh6iZWuPHboveJ/Vx0glOkFLqMR/BvrsPSJ1 X-Received: by 2002:aa7:9a48:0:b0:623:c117:f20e with SMTP id x8-20020aa79a48000000b00623c117f20emr18873362pfj.19.1681300087625; Wed, 12 Apr 2023 04:48:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681300087; cv=none; d=google.com; s=arc-20160816; b=H9DgWU2FLkWHvEYf85BlC0cZjTH9V7/TExTpj3UvI+RoVxOcYQ23NmiuByWBeXlhJK /fS2vCr/anqfnEf1ad5BvAfwjavA+o662i3EznS6fsS6PAvOgVph0rXWp45+yVUKjolg +ryeOpfm3SnnxKlmIPCPkCokWeDzED5A1K3l+ZrwEKY0wBxmaBd7264/eMTWd3VHZPqK H2cTUfgtpl+CYB6wRZCaHtOINqb5Ne3lVaUVQKF9i3Wcg0BDi9CrsZCx9LDtM4fuG0zp tovhffJG+Mp//Wp1gz8b3nc2CwFWwFkbNEeHOVgR5U8QIcQre7TxIVRu0KxQ4XnbgkCQ S/iA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=aZwlhye0B3WdgeiPJFEuAuWDr27/o6foB6BG3zgXAcU=; b=F+hQV1pk/oSvrhQe/060lRm18XZJZEsVCkG1KJwsadbmFgAR5WQhjtPlGIAwS+IC9U rb5Cb8k4natwilKYb8oegQQIuL6g8d52tRo5UXXWkXlCrtvXjP9oCQspXxCBcCN47jFs LuSJSNXnSRmF+2+HG8fxQmokO5Eax/ogcn8ac/UFJHFQR986ccG7Vn7t32baeh9k3q/T pdgHd+JnG5n5NGO83Tqay3HMkdLncumObncE6Tl5u+uR/yLwN/GsKQgze5V4jLIqezpL FLTYydYh9b+LPBgrxEIwWdEhTTS4S60CFos3K2jlV82jjVbDzRFRqgwT+ShQN0vBUznZ 3ocQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=NXvDtQJ3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z12-20020aa79e4c000000b0063b1458a290si1404259pfq.329.2023.04.12.04.47.55; Wed, 12 Apr 2023 04:48:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=NXvDtQJ3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231403AbjDLLaG (ORCPT + 99 others); Wed, 12 Apr 2023 07:30:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57888 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231570AbjDLL3M (ORCPT ); Wed, 12 Apr 2023 07:29:12 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28485185; Wed, 12 Apr 2023 04:28:22 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 04496660328E; Wed, 12 Apr 2023 12:28:17 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681298899; bh=VzMpC2ylIvPbeGRaM8hTndNXA0jJmN7L511Odi3RhPk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NXvDtQJ37lxvR/koYZz67/GC+4r1u9X0Qh/yvf8gDT6BI9s/W+l4B0js3i6aGEQpb 4U+O5sQJBxuWwmFqisqL4TrC3Eghy10zEK0IzMV73BsVJcphsVZTBHBt1JrHgerCrA 55LDUQ9x6w9zIbc5nbZaDtp50KHbE/tXfA/heWMSShd8dHZIaKDziqcYCMcxAFxakU 9QdIQoLtXP0CYrbZlFWhPD4vgrrUteqwW+cZyjKBBfZfNwV8aWqtnJeDLfZjGrz10a JQoruXQ0qNStVKMPgLuVft6us1VVthVll1SqrStJpmjY8mb1Lm51Y7c2NZRgPWwh/z sZdyM2NTdjcew== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jassisinghbrar@gmail.com, chunfeng.yun@mediatek.com, vkoul@kernel.org, kishon@kernel.org, thierry.reding@gmail.com, u.kleine-koenig@pengutronix.de, chunkuang.hu@kernel.org, angelogioacchino.delregno@collabora.com, ck.hu@mediatek.com, jitao.shi@mediatek.com, xinlei.lee@mediatek.com, houlong.wei@mediatek.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, linux-pwm@vger.kernel.org, kernel@collabora.com, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH 24/27] arm64: dts: mediatek: mt6795-xperia-m5: Add MT6331 Combo PMIC Date: Wed, 12 Apr 2023 13:27:36 +0200 Message-Id: <20230412112739.160376-25-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> References: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762970920377318877?= X-GMAIL-MSGID: =?utf-8?q?1762970920377318877?= This smartphone uses the Helio X10 standard MT6331+MT6332 combo PMICs: include the mt6331 devicetree and add the required interrupt. Note that despite there being two interrupts, one for MT6331 and one for MT6332, in configurations using the companion PMIC, the interrupt of the latter fires for both events on MT6331 and for ones on MT6332, while the interrupt for the main PMIC fires only for events of the main PMIC. Signed-off-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts b/arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts index a0e01a756f03..debe0f2553d9 100644 --- a/arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts +++ b/arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts @@ -7,6 +7,7 @@ /dts-v1/; #include #include "mt6795.dtsi" +#include "mt6331.dtsi" / { model = "Sony Xperia M5"; @@ -219,6 +220,15 @@ pins-tx { }; }; +&pmic { + /* + * Smartphones, including the Xperia M5, are equipped with a companion + * MT6332 PMIC: when this is present, the main MT6331 PMIC will fire + * an interrupt on the companion, so we use the MT6332 IRQ GPIO. + */ + interrupts = ; +}; + &uart0 { status = "okay"; From patchwork Wed Apr 12 11:27:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 82401 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp255382vqo; Wed, 12 Apr 2023 04:40:31 -0700 (PDT) X-Google-Smtp-Source: AKy350YniYaXUs9tlaM+5NUYfCVZ42DKsEXSn3ChnQhcdsXgApWqhIBkTsM1zTHZMFgSmFOpxoCi X-Received: by 2002:a05:6a20:b127:b0:da:2dc:5642 with SMTP id ed39-20020a056a20b12700b000da02dc5642mr13115989pzb.58.1681299631301; Wed, 12 Apr 2023 04:40:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681299631; cv=none; d=google.com; s=arc-20160816; b=NYLJKb/u5BbvQivFKpWvpeRe70Hi/OFe2jzChV5V8gyVqLT+mmLMUbCpsA0txPaCPj UYy2LcTUCHAiKTyTYQuiTjDVe40d2gfY+YQZqEyGvB3EXJhc8mJT47Uzb7CuQCSjILX9 orl+Gg1mz4iJqG9OP24LUe6sa3hPrVEvvaDWop19NYeUHGYN3rUPXnsaNWhN6cSF8bPy EaSWHEUTuuVtaVj2R/dlnggiiSoOPBXoG6N+Xk6Rj0iPw3GyGLEyL62o+n8kgL8aJtD/ yTvdOZZWpE3brhhHivspeub4V281XKe6RQ+P5KWgU460YTALQBQTgxJQLNUXaeG5iA99 QDqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=K5eIMVl42dYiIFENxNLdkHR4QOggB7sc3hcd7YstTt4=; b=itPnQaPPXTW7faycufWByQPS20xk2ybY8xas4YpRDztNlzFYn5ZuLPHct11uLrwcRP FB1LxESVEfxaMMi1eUBjtOEel19CezZAOY9QbekDfvzLiUiB/Y+dPjIL3B8MdppcGRYm 0/aUHAJzwnPWx+E94ziB6ZJDEDZhI9zTAAfTCwoGte4qv0pXggq3Mg+shmwWI9PA+ALe R3Nt/2JHiT4NW87m95kv95UWeYyl1D0Gl2wyk2CvD1J80vn3PMgnmkRXB4x6ZLl5CRLb 9Sk9qwufPnCGoCKReUPfiI0UhSEZ55+DUqh+hUhbNCBYgRDf5fzLSeTLjpEuGrWUxxw4 yW0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=JJ4B67IQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f189-20020a6251c6000000b0062d7d3f1192si15850370pfb.166.2023.04.12.04.40.18; Wed, 12 Apr 2023 04:40:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=JJ4B67IQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231695AbjDLLag (ORCPT + 99 others); Wed, 12 Apr 2023 07:30:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231317AbjDLLaK (ORCPT ); Wed, 12 Apr 2023 07:30:10 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08C007AAC; Wed, 12 Apr 2023 04:28:51 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 64757660322F; Wed, 12 Apr 2023 12:28:19 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681298900; bh=chGWBs1hJYSca6e8u/s/vnv2XlltpEF6hKJyQaXeTLw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JJ4B67IQhVehxBnCg7vCaAFTsKCrZJaYar7p2G0EvYSGXq1jakB58n2ggE1rfT4vt hYO2Cf8WmSD8AEGL6b1YVqZQ3sMMz8hTZmZIe2aEpM8zSvGSr4ZGcsqv/L2M2Ynhom NQrriGbEhl34aoLlaLPV/jWtjqohLwcLOrG4iAQ9ebZrEG8PlyG+1YTz+GSp2Q3uMK PzqK6niOgIyVFB708Ebl4WyAzSngcTBqZko5cMza84tHuQbSjb8jgqlyZ+lpO7LdyP vMDWInSAvoaVfLb+fEjsGedLN/8o/T1MczFldXGPEIgUw7gmalL++ciEGLQm1HdRCh Og6QWH//MZrDg== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jassisinghbrar@gmail.com, chunfeng.yun@mediatek.com, vkoul@kernel.org, kishon@kernel.org, thierry.reding@gmail.com, u.kleine-koenig@pengutronix.de, chunkuang.hu@kernel.org, angelogioacchino.delregno@collabora.com, ck.hu@mediatek.com, jitao.shi@mediatek.com, xinlei.lee@mediatek.com, houlong.wei@mediatek.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, linux-pwm@vger.kernel.org, kernel@collabora.com, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH 25/27] arm64: dts: mediatek: mt6795-xperia-m5: Add eMMC, MicroSD slot, SDIO Date: Wed, 12 Apr 2023 13:27:37 +0200 Message-Id: <20230412112739.160376-26-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> References: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762970442273782978?= X-GMAIL-MSGID: =?utf-8?q?1762970442273782978?= Configure and enable the MMC0/1/2 controllers, used for the eMMC chip, MicroSD card slot and SDIO (WiFi) respectively. Signed-off-by: AngeloGioacchino Del Regno --- .../dts/mediatek/mt6795-sony-xperia-m5.dts | 91 +++++++++++++++++++ 1 file changed, 91 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts b/arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts index debe0f2553d9..155a573eac4c 100644 --- a/arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts +++ b/arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts @@ -17,6 +17,7 @@ / { aliases { mmc0 = &mmc0; mmc1 = &mmc1; + mmc2 = &mmc2; serial0 = &uart0; serial1 = &uart1; }; @@ -121,7 +122,97 @@ proximity@48 { }; }; +&mmc0 { + /* eMMC controller */ + mediatek,latch-ck = <0x14>; /* hs400 */ + mediatek,hs200-cmd-int-delay = <1>; + mediatek,hs400-cmd-int-delay = <1>; + mediatek,hs400-ds-dly3 = <0x1a>; + non-removable; + pinctrl-names = "default", "state_uhs"; + pinctrl-0 = <&mmc0_pins_default>; + pinctrl-1 = <&mmc0_pins_uhs>; + vmmc-supply = <&mt6331_vemc33_reg>; + vqmmc-supply = <&mt6331_vio18_reg>; + status = "okay"; +}; + +&mmc1 { + /* MicroSD card slot */ + vmmc-supply = <&mt6331_vmc_reg>; + vqmmc-supply = <&mt6331_vmch_reg>; + status = "okay"; +}; + +&mmc2 { + /* SDIO WiFi on MMC2 */ + vmmc-supply = <&mt6331_vmc_reg>; + vqmmc-supply = <&mt6331_vmch_reg>; + status = "okay"; +}; + &pio { + mmc0_pins_default: emmc-sdr-pins { + pins-cmd-dat { + pinmux = , + , + , + , + , + , + , + , + ; + input-enable; + bias-pull-up = ; + }; + + pins-clk { + pinmux = ; + bias-pull-down = ; + }; + + pins-rst { + pinmux = ; + bias-pull-up = ; + }; + }; + + mmc0_pins_uhs: emmc-uhs-pins { + pins-cmd-dat { + pinmux = , + , + , + , + , + , + , + , + ; + input-enable; + drive-strength = ; + bias-pull-up = ; + }; + + pins-clk { + pinmux = ; + drive-strength = ; + bias-pull-down = ; + }; + + pins-rst { + pinmux = ; + drive-strength = ; + bias-pull-up = ; + }; + + pins-ds { + pinmux = ; + drive-strength = ; + bias-pull-down = ; + }; + }; + nfc_pins: nfc-pins { pins-irq { pinmux = ; From patchwork Wed Apr 12 11:27:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 82410 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp257160vqo; Wed, 12 Apr 2023 04:44:14 -0700 (PDT) X-Google-Smtp-Source: AKy350b8cEyU+Aoid3C7MAytzgae4aVlCzL17dwJ1A8mufR79Ka5cUzg/Weci957qyCEQ1BKF0DL X-Received: by 2002:a05:6a20:b1aa:b0:d9:63c3:e2a0 with SMTP id ee42-20020a056a20b1aa00b000d963c3e2a0mr2270760pzb.18.1681299853914; Wed, 12 Apr 2023 04:44:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681299853; cv=none; d=google.com; s=arc-20160816; b=uUiDSemuSICKqM9pv4Wozue7k1V3DlUSxKaSKCjhby1T+4EMAWpMX6x5ABt0pMMaVb 8br1LR/plB26dMm6Gih/mtN7vx+MpKjkHqsUZeYEE9ndKj+lu6gDfxMtbIjgd2jetOT4 Ye9YuBCtzfiPY6erpL7FF7cSeNGSkZiQ3lluL+9QOaae4kPkCxbAm2/sUlYIpDcVANWR a+wkhTW4Sb8BUiaUaHU5J8hJ/4wCafpxUdf6tFf68f7JVzAVNYztNs/wTSPyfunqz6Ht hZM+PNoDY6QRR1WHCi/uapb7Bs4sk6cKHZSNHdZ7wyF/1csZgIaRnXaRM5bHlhr99L4J RTsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=5+JHMxpM2iCaYIXRCbrhoEs+eGn+K1uYx/m4VEa7vME=; b=qZIsC3fG+ZYgrklIdvYxNKG8TLy4jlGhzVetim4cE36JFf2Pyi2SskG7OZYdmdSsiq WJ1CfDZQXQ2ZyxdXe8rUmQFI/uhz7JwWYzaUEN7qTvcXJkczz5R1qbIfkFDMaH9395bv atNh4g2jXEqNZvppEWTqCqZqsmyfIkdiss1o1JjZ/CBJAsoYncfRVFQOZA7i9R5ro9bv 8TgNcTAKnOOO7gQHbu3kGUfB4TIMEdJYw87262vzfwbHadKGktvO1Y1NEUUfYVXfe8r/ FECJlveHiYXYOJbe7OSMIIDUP/ntW8JVYFBcje9UfS57hfKM4aKkFrhNCQSBB1teeRgc Tr0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="UiDRoD/a"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q4-20020a63f944000000b0050be565b856si15811450pgk.685.2023.04.12.04.44.00; Wed, 12 Apr 2023 04:44:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="UiDRoD/a"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231702AbjDLLap (ORCPT + 99 others); Wed, 12 Apr 2023 07:30:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231633AbjDLLa2 (ORCPT ); Wed, 12 Apr 2023 07:30:28 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01C1BA25C; Wed, 12 Apr 2023 04:28:58 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id CB19C66032EB; Wed, 12 Apr 2023 12:28:20 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681298902; bh=xUQYw0z/3eD48tbUC6FkC0FmT/7tvqDbRz8S5+ghVDQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UiDRoD/awykx1G8oFAEFQ1z3rHmX6u5CgvPp9Ttb5eVfOz2rGgXgHCyHyJPDPppAB Z9BZ+0ieRQczDcAEh7xhreHlVE8xq8tUQ4rmfBrKhruvRyXpIgMNJ2/wveG2HfzXv3 xmfXU/jdBAoaLjMqDdLEIwx2mljisr8xT2QkGN0XiNE1WcR2ttFQ0rTbn7/POWQGaU 1Q3uno27kmTpcLMA6VWSEq1yaZ00V/A2W297bWYJ4jTAZ9o4avL5bthLXTgWaNWw5h t7neth4CgeLeEKOGT8X/PRCvHjidg16w9ZBqySIAADjhpwuYEW6O8dtUvZYzbpznPA bJySENdAEub7g== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jassisinghbrar@gmail.com, chunfeng.yun@mediatek.com, vkoul@kernel.org, kishon@kernel.org, thierry.reding@gmail.com, u.kleine-koenig@pengutronix.de, chunkuang.hu@kernel.org, angelogioacchino.delregno@collabora.com, ck.hu@mediatek.com, jitao.shi@mediatek.com, xinlei.lee@mediatek.com, houlong.wei@mediatek.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, linux-pwm@vger.kernel.org, kernel@collabora.com, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH 26/27] arm64: dts: mediatek: mt6795-xperia-m5: Add Bosch BMA255 Accelerometer Date: Wed, 12 Apr 2023 13:27:38 +0200 Message-Id: <20230412112739.160376-27-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> References: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762970675602152589?= X-GMAIL-MSGID: =?utf-8?q?1762970675602152589?= Add the BMA255 Accelerometer on I2C3 and its pin definitions. Signed-off-by: AngeloGioacchino Del Regno --- .../boot/dts/mediatek/mt6795-sony-xperia-m5.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts b/arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts index 155a573eac4c..0b0519f6b2f1 100644 --- a/arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts +++ b/arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts @@ -68,6 +68,13 @@ &i2c1 { pinctrl-names = "default"; pinctrl-0 = <&i2c1_pins>; status = "okay"; + + accelerometer@10 { + compatible = "bosch,bma255"; + reg = <0x10>; + pinctrl-names = "default"; + pinctrl-0 = <&accel_pins>; + }; }; &i2c2 { @@ -247,6 +254,14 @@ pins-irq { }; }; + accel_pins: accelerometer-pins { + pins-irq { + pinmux = ; + bias-pull-up; + input-enable; + }; + }; + i2c0_pins: i2c0-pins { pins-bus { pinmux = , From patchwork Wed Apr 12 11:27:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 82402 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp255535vqo; Wed, 12 Apr 2023 04:40:52 -0700 (PDT) X-Google-Smtp-Source: AKy350a097nXPRDlKXKydESC7kAnpIAShUn7UK9VtW5cUsA1MXH5d0B+8gv7wmjqMCTtvv52YfJ2 X-Received: by 2002:a17:90b:4a89:b0:23f:7625:49b6 with SMTP id lp9-20020a17090b4a8900b0023f762549b6mr23380139pjb.37.1681299652482; Wed, 12 Apr 2023 04:40:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681299652; cv=none; d=google.com; s=arc-20160816; b=yfoh50TQAWbcpRSuS5Ar+CMGWOYdi/ejYLqYStrfIlPtzz969tGW3JSNfV7WMqFgH7 1dMxmorsIE9FVggPuUDrBGRRLXctDGDLiAKG5hWMON4UuO3vdADeIPxQm8kKQBIHC/7a Q+lG7Eb7fVmvltUl0VEaPMLZtFse63LVuN61ma8IYAxZYx25a0zuV+Wucm1+q/BXjrid E2L97pNH5beEp1jGOa7L4MGySsbHiMXy7ZtyljFk5J9fQc685xdjhFOUDDtvULWxITr+ lb2kmTXG1KT+AvqPEOa7bOGJ7lhXjLlqzzjHGf8RIrZRvRxfvfO1y8UIBOV81L37oUnY TUEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=adrJca3twPq6s+JaUasly3mqE1MTFVpESwI4YAXK9ek=; b=sS7IfGdK5+WVsbCTT2Rn+B8qj/rJFwYXS4sCCdBfTJw5zNdLTcQtWUM60WGKeibB8+ YKIqC1tXxu1qzy7kukko8+MwBk0lqSgR25z6eTUP2kox5CdSSVPSFwItv+3VU0UB33AT v7OCMGXeO5cMRDhlIjtFLy2nxvrvxVgt0Sdme2KXRKQX/f4eERdV0/W6Wv7ACWcDj4Wg Ny9GH7wzysWjnAhEf6EA7fDkkf+hyzt1FA+J9WT3lVNB78ILQtBOnF3oOJAOewKtDTl3 96Xd4KX4xV8zX/f6NydOKaG0x+xjHebEIC99GVeAGt7qxzJNqI8BdIgDg5FZEf7vYqsa OutA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=H8J6WREJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v3-20020a17090a898300b00246bd5445d7si1735754pjn.104.2023.04.12.04.40.40; Wed, 12 Apr 2023 04:40:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=H8J6WREJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231663AbjDLLbS (ORCPT + 99 others); Wed, 12 Apr 2023 07:31:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231560AbjDLLa7 (ORCPT ); Wed, 12 Apr 2023 07:30:59 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D160A5EC; Wed, 12 Apr 2023 04:29:25 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 3B916660324D; Wed, 12 Apr 2023 12:28:22 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681298903; bh=FrZ0bhYSUc3f/6EFDPkgRvN3ofxA9mQ25dTr2lufmAQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=H8J6WREJiSELQuQdZAUz06U2x3wIhPE+Q73DAEJDcHAcSc9VSJDn3cW93Gr96UhOP cDi5DV6unFsMDzilzcl3hZLFPCTwx3Pukl2mFwU71JHaBzJ2yyXe3Z7KA+s/JC7jho y4DZuZ/BblFZ2xonu/ZK+OUKSyeyZPQdRQHXyq87SORhUaosLkUSNPmhb/gnmvwnY/ 2di2KwWct0SxcrpIrPd9Bc6FCCLRBHerlNBBM84qKxMEIk+ZlJJhWcrxJJqhEtNGl+ 1tiwyeWlhwQkAdiHk8G+xC5NTgFQd86wKoDDajqup5ztiKjP/29yuHs9/1tB6gIyp3 3SJCSlOfuWxBg== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jassisinghbrar@gmail.com, chunfeng.yun@mediatek.com, vkoul@kernel.org, kishon@kernel.org, thierry.reding@gmail.com, u.kleine-koenig@pengutronix.de, chunkuang.hu@kernel.org, angelogioacchino.delregno@collabora.com, ck.hu@mediatek.com, jitao.shi@mediatek.com, xinlei.lee@mediatek.com, houlong.wei@mediatek.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, linux-pwm@vger.kernel.org, kernel@collabora.com, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH 27/27] arm64: dts: mediatek: mt6795-xperia-m5: Add Bosch BMM050 Magnetometer Date: Wed, 12 Apr 2023 13:27:39 +0200 Message-Id: <20230412112739.160376-28-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> References: <20230412112739.160376-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762970464497560057?= X-GMAIL-MSGID: =?utf-8?q?1762970464497560057?= This smartphone features a Bosch BMM050 Magnetometer on I2C3: enable it with the BMM150 binding, as that driver supports BMM050 as well. For this sensor, there is no interrupt pin; readings were validated in sysfs. Signed-off-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts b/arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts index 0b0519f6b2f1..b5746e6d0b15 100644 --- a/arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts +++ b/arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts @@ -75,6 +75,11 @@ accelerometer@10 { pinctrl-names = "default"; pinctrl-0 = <&accel_pins>; }; + + magnetometer@12 { + compatible = "bosch,bmm150"; + reg = <0x12>; + }; }; &i2c2 {