Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2867726rwb; Mon, 19 Sep 2022 11:09:26 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7R32bsCz6pfqGKyg5Uf/1dXxh0j5ENRw+23x74bu+/+33VW/Qp2dgKoutGHYaDac0LtgOl X-Received: by 2002:a05:6402:914:b0:451:22c5:2e28 with SMTP id g20-20020a056402091400b0045122c52e28mr16449909edz.294.1663610965743; Mon, 19 Sep 2022 11:09:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663610965; cv=none; d=google.com; s=arc-20160816; b=E7t0uSiYDWi21MlRt50z+u89+BwnAQy4zjItO3IxXlHEcnOVc7cSA7bE8YG2vl5zjr IqHLHPs/UNRHNiq7fODt2/xwcP/LBjfXTZerK+paQeiLpYl9k8Pp7slY/vJOHOPiKcct m2mWoa8pQvDTQi1fl6GRqzWytEr9L2KZJ6I1dxEIePCL8zZP5Z49MwxKC+IJs+kJkQcp pz3KDpSTFlJOQPxAtfoLtIgsu/9KJ35OUGi/ARLbgdTTFv8UmjHjVQw+NWoy3MZGVMxt mIhjqeLHEdgHiI/M8eU3fcwIFNZyWge8h2RjJMViNJ6uZWxRVRPX4mTh2NjWqbwE4N3u WoTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=5y6U/O2cW1kp0MEYYlgdcRumC1g8PUdg2NEss+CEK4Y=; b=dvnaQqvCqict3Tgmv5FtnFldBT6CIbuRQfBYwXqdNx8KH/O4ozfQIgJkBNDcAQ5pFw DPVnmJUnttPjhYovtwHhP/0MoYiY5wFmG14JoMfFLp0L/tj2o2MqoLsY6ZPreJO0XF3O xjx02tqXuvLL3jtMM9hzqaI1xPwOBH2Kl4YBgVfPDaPTIbOx9LirltmjNVI8XyHHMHld MdvXMUcLHRPsRKrPPRCjbg/8+BIAcv21HWLndd4Cy9Wl3sXSx328wbYbPXNfI/lN94fr STtIkxFgJdqfAXfyg7TOy41eP7cdexxiFZIxELA57WuO4gyOG4k8ziHQkY5LvLOEhghH RWWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=u9o63LTx; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z9-20020a05640235c900b00451627edb0asi11315149edc.268.2022.09.19.11.09.00; Mon, 19 Sep 2022 11:09:25 -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=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=u9o63LTx; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230406AbiISRAT (ORCPT + 99 others); Mon, 19 Sep 2022 13:00:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230321AbiISRAI (ORCPT ); Mon, 19 Sep 2022 13:00:08 -0400 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1DE133350 for ; Mon, 19 Sep 2022 09:59:55 -0700 (PDT) Received: by mail-ed1-x52d.google.com with SMTP id z97so113272ede.8 for ; Mon, 19 Sep 2022 09:59:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date; bh=5y6U/O2cW1kp0MEYYlgdcRumC1g8PUdg2NEss+CEK4Y=; b=u9o63LTxFa7L0qIFlEApgQkRIlw0NFfFQtW1Vdw4ql0gk0AkcKQUA308pxM1LeQsTV ealEEZUUQ1Hoc26qB9doB91p2dMDciChIfhr5efax2uEJls/dFAHbvg72hGqyPc2ZCli /jtjFI0iCGSTOGhwM0REsrlbCu6NmyGmUve8aAOWWow0ddGpbjiYETkTphqQ7chs719p i4s1mpSRVVmRqL3N3loAyHeDe/c22M5IQRRGBjhk0zhNR088zfQCYCghvg7Gf0yjBkOV jWYjrMsnDxopS6FaQY3glD94bxQViwhQjaECJnwkS+0NUaZXxlVdW4g7EbcdNq8ZdMwI t5Jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date; bh=5y6U/O2cW1kp0MEYYlgdcRumC1g8PUdg2NEss+CEK4Y=; b=2GneoJDRGDZY2P4aBPNIfpRfr4RL/uATKU3qW2UUaQ4G23uEms1mhaGqI4NTGo6JuK kb/orwqPk2ytEf8uktXcfoeEkLCF3h1xwbinoAeECnO/pxvIoVNOk0NL+miVU0iio3xO fhEKkMmWbdo+Qix3kppbsHUcEiZLUGVbFUPwr7EbaHIX3wzB54f3BJGPykvduWEiRU3P NDxr8bkQ4wBfvyJrtDiVlGTKI+Jnu8THEfFsuxRu/p+ooJ6f/B5hICeF+27saSIY0Hcu HoDuUiYbZKT4T6PwNrxn83FFQoClAG//YO/zkx+dPdvb+yjvq9doAII4VFvml7g4igft 0tBQ== X-Gm-Message-State: ACrzQf12dejLO7do+BexTThK0+56xqe7L3qK48CxeuNGEWubWhxyS5LY /0ESWgMhnJ7QvV/zLwv40Ku3hQ== X-Received: by 2002:aa7:da97:0:b0:452:bea2:5200 with SMTP id q23-20020aa7da97000000b00452bea25200mr16562187eds.341.1663606794718; Mon, 19 Sep 2022 09:59:54 -0700 (PDT) Received: from [127.0.0.1] (2a02-8440-6340-f287-3074-96af-9642-0003.rev.sfr.net. [2a02:8440:6340:f287:3074:96af:9642:3]) by smtp.gmail.com with ESMTPSA id cf16-20020a0564020b9000b0044fc3c0930csm20424246edb.16.2022.09.19.09.59.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Sep 2022 09:59:54 -0700 (PDT) From: Guillaume Ranquet Date: Mon, 19 Sep 2022 18:56:04 +0200 Subject: [PATCH v1 06/17] dt-bindings: mediatek: set the hdmi to be compatible with syscon MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20220919-v1-6-4844816c9808@baylibre.com> References: <20220919-v1-0-4844816c9808@baylibre.com> In-Reply-To: <20220919-v1-0-4844816c9808@baylibre.com> To: Vinod Koul , Stephen Boyd , David Airlie , Rob Herring , Philipp Zabel , Krzysztof Kozlowski , Daniel Vetter , Chunfeng Yun , CK Hu , Jitao shi , Chun-Kuang Hu , Michael Turquette , Kishon Vijay Abraham I , Matthias Brugger Cc: linux-mediatek@lists.infradead.org, dri-devel@lists.freedesktop.org, Pablo Sun , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Mattijs Korpershoek , linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, Guillaume Ranquet , devicetree@vger.kernel.org X-Mailer: b4 0.10.0-dev X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 In order to share register with a dedicated ddc driver, set the hdmi compatible to syscon. Signed-off-by: Guillaume Ranquet diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,hdmi.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,hdmi.yaml index abb231a0694b..86297b7eb7f7 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,hdmi.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,hdmi.yaml @@ -16,12 +16,14 @@ description: | properties: compatible: - enum: - - mediatek,mt2701-hdmi - - mediatek,mt7623-hdmi - - mediatek,mt8167-hdmi - - mediatek,mt8173-hdmi - - mediatek,mt8195-hdmi + items: + - enum: + - mediatek,mt2701-hdmi + - mediatek,mt7623-hdmi + - mediatek,mt8167-hdmi + - mediatek,mt8173-hdmi + - const: syscon + clocks: true clock-names: true @@ -142,7 +144,7 @@ examples: #include #include hdmi0: hdmi@14025000 { - compatible = "mediatek,mt8173-hdmi"; + compatible = "mediatek,mt8173-hdmi", "syscon"; reg = <0x14025000 0x400>; interrupts = ; clocks = <&mmsys CLK_MM_HDMI_PIXEL>, diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 7640b5158ff9..3e7a0f406631 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi @@ -1306,7 +1306,7 @@ od@14023000 { }; hdmi0: hdmi@14025000 { - compatible = "mediatek,mt8173-hdmi"; + compatible = "mediatek,mt8173-hdmi", "syscon"; reg = <0 0x14025000 0 0x400>; interrupts = ; clocks = <&mmsys CLK_MM_HDMI_PIXEL>, -- b4 0.10.0-dev