From patchwork Wed Dec 28 11:32:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hsin-Yi Wang X-Patchwork-Id: 637366 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40833C4332F for ; Wed, 28 Dec 2022 11:32:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232680AbiL1LcP (ORCPT ); Wed, 28 Dec 2022 06:32:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229976AbiL1LcN (ORCPT ); Wed, 28 Dec 2022 06:32:13 -0500 Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22C7063FC for ; Wed, 28 Dec 2022 03:32:13 -0800 (PST) Received: by mail-pg1-x530.google.com with SMTP id r18so10392599pgr.12 for ; Wed, 28 Dec 2022 03:32:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=KTmLp3WPbuZV+b+hTAD9egOWKyUGIagroxlWC31ebpo=; b=nvJ56kdO6TYBqlvfyBBy44mrPbj6j0sswfmD+BfW6JUnz947+VBa0I4+vIvGnGxL2C xsOILcAE8JSmL+VcfWGh+DcPuST3RRIwqbyi/SEUy/pYwNbKJkCU429Z+w9m3YyJfkj+ osoiuk3YMs4zhIh181anhkeSpwMm/FhgqeYWI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=KTmLp3WPbuZV+b+hTAD9egOWKyUGIagroxlWC31ebpo=; b=wW0F9KpPM+VD4PK1oGWo+yJTFowUlmFLDk8fuSGO9nkHsUQTC2h42YEIr6Nx1HEFbr +Awlax0HH7XP7PubgQzKrGWRJ8uRYSHTADA+hJ8uWzjisRTm71G3vD7QgG/QKdRXsh9h RmMhITMJUhzghRIpfLMRM1prhOtmkE+ZXl4Ul+eo8A6h+/Nh9giWSiqBm5ctH02brD/q ixek9V56ZxWfBDBxJ/XwQyUGmdX4h+WfK02ZoMHYKiHJrF17MCGbBhl9zm1VnSE7diKi zTyltVJTxCE40toevPDs4TTwPU3wPgKRLpBVIGQUyQ4ZQVpHnSzkVlZiJzUZgLajJJfc i1tA== X-Gm-Message-State: AFqh2kphy63xDosVK5FDyA+ChAWyYCNub1DjBKMoJ+Fk6n4yA6QAc/mi maC+hvgWqpjDQWnuUjdK/XeHtg== X-Google-Smtp-Source: AMrXdXsMYQjyC6xgL+G4AOqkuUQJXWG3LyE0123LXzv3W/PwJe5cSz4GYQWNfvPJ8/GMg0yggFHymw== X-Received: by 2002:a05:6a00:26d8:b0:56b:9b71:ca2f with SMTP id p24-20020a056a0026d800b0056b9b71ca2fmr23155416pfw.11.1672227132377; Wed, 28 Dec 2022 03:32:12 -0800 (PST) Received: from hsinyi-z840.tpe.corp.google.com ([2401:fa00:1:10:882f:1d5e:9d7e:ebbd]) by smtp.gmail.com with ESMTPSA id w18-20020aa79a12000000b00581816425f3sm1987756pfj.112.2022.12.28.03.32.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Dec 2022 03:32:12 -0800 (PST) From: Hsin-Yi Wang To: Matthias Brugger Cc: Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, AngeloGioacchino Del Regno Subject: [PATCH] arm64: dts: mt8183: jacuzzi: Move panel under aux-bus Date: Wed, 28 Dec 2022 19:32:04 +0800 Message-Id: <20221228113204.1551180-1-hsinyi@chromium.org> X-Mailer: git-send-email 2.39.0.314.g84b9a713c41-goog MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Read edp panel edid through aux bus, which is a more preferred way. Also use a more generic compatible since each jacuzzi models use different panels. Signed-off-by: Hsin-Yi Wang --- .../dts/mediatek/mt8183-kukui-jacuzzi.dtsi | 26 ++++++++++--------- 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi index 3ac83be53627..543286ce9cea 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi @@ -6,18 +6,6 @@ #include "mt8183-kukui.dtsi" / { - panel: panel { - compatible = "auo,b116xw03"; - power-supply = <&pp3300_panel>; - backlight = <&backlight_lcd0>; - - port { - panel_in: endpoint { - remote-endpoint = <&anx7625_out>; - }; - }; - }; - pp1200_mipibrdg: pp1200-mipibrdg { compatible = "regulator-fixed"; regulator-name = "pp1200_mipibrdg"; @@ -181,6 +169,20 @@ anx7625_out: endpoint { remote-endpoint = <&panel_in>; }; }; + + aux-bus { + panel: panel { + compatible = "edp-panel"; + power-supply = <&pp3300_panel>; + backlight = <&backlight_lcd0>; + + port { + panel_in: endpoint { + remote-endpoint = <&anx7625_out>; + }; + }; + }; + }; }; };