From patchwork Wed Jan 11 14:07: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: 42014 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp3343357wrt; Wed, 11 Jan 2023 06:11:59 -0800 (PST) X-Google-Smtp-Source: AMrXdXuYrldUeExzYV+N7R0a123FoXqNBG9DH9dg6mWDpdk4r1qelP2QCmRU4aclUPd5i33DqhdX X-Received: by 2002:a17:906:99c7:b0:7b5:860d:7039 with SMTP id s7-20020a17090699c700b007b5860d7039mr63818084ejn.10.1673446319356; Wed, 11 Jan 2023 06:11:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673446319; cv=none; d=google.com; s=arc-20160816; b=q129XkyGM2CWaxG/1AxHU6cQa4sx3p/npzeP44iSr/Xl2N3CG9vnZLbiEZ0zBKqK4V CMeMZAcVchZNfHgiVb0t7bB0R9L5O+PZg0GNnZvIGrX1XMe0iRzS7WmB/HmkiRVV81kh eMbcnrkoWVtW+ucWQKZnSsihRFSIU2sX90y55Jm8plhkK4aKRyGDD5hwIDGYhVIXxMSa YvHOH+CWWJsHrsSEPg3S1ZqMq1gqaI8nPjVtD7kdBj0OVG8Uyza4DTVcakb9KUctQek1 an3iSioBgAk2GQy8jYH9oCjzkeLthmPTHd2PLczYK/SKb96p9uMviHK3Y2R87sFcoJsv axxw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=iF0XeBjwYTnZXjGJqxu1zDCO1Q6G7fns6hD+lzukNVk=; b=r5IhGwsEJEus+QsQWLDPU8aiQB8QUvLo+r6tz3SVKv9jjIWoi0Pwsn573svvyvtgyl Sv0CBX8tYZ3MQ9LkGAyXjCkF/UhcW0qV3HbWNK+nDLNNGhdKbiLmo+m/kMtsgYx1IqTB V9NwajBowT+buJkEhj+yKY+CcaGqEUwY7betk5lNTzC9zyiZjmBa0fQtHXnmLTTCQpK0 uDpYKs4TdXaPPYYnpPArALSu/fD2Uy4yLGd40rMsmzla5QqGCskyFZZKP7R07DGkkMY2 1w6SenRGNyLSvvNBhluDkoJMM0AlatjrUiNGZrLlMAIHSGLfC/NtvlWNMk4Ad0uJlx8W eHXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=ft+RLNTM; 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=NONE sp=NONE 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 xh9-20020a170906da8900b0084d4b90896fsi7179171ejb.245.2023.01.11.06.11.35; Wed, 11 Jan 2023 06:11:59 -0800 (PST) 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=ft+RLNTM; 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=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231760AbjAKOHo (ORCPT + 99 others); Wed, 11 Jan 2023 09:07:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232424AbjAKOHl (ORCPT ); Wed, 11 Jan 2023 09:07:41 -0500 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 5CBCD270; Wed, 11 Jan 2023 06:07:38 -0800 (PST) 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 8E9006602D9C; Wed, 11 Jan 2023 14:07:36 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1673446057; bh=n5WHHdQNBAmOfq5p8QxYo1xuR8hghbRyMcc6c0ej73E=; h=From:To:Cc:Subject:Date:From; b=ft+RLNTMPustVX31ZWVZ+VbC8cBRx/3a766ayXp+Je96O72qZb91w6D7v68FJ1NDL KsXKIoRZVL4b6CmVrTmJ09ngH1dGN1MowQDAM81UCm8Vfsy36O7OTsl3egi55IDvV6 envsu1WpEfF5FCOQoI/tSwRMQCp1PH5R0mSDjCTs5EjD+tRatASSerY4C8QF/qGJFX Lu2ho8UJ8BUTiWXUeloV2QzRIXUnb0CFLkcWxvcPCsq8NeLMZCdXgr4ikJ4pUrh8++ N4o15u4RBqLyukqKK7Zx8Tzb8XmYy54VBXvIDZH/3ov5gCxijHm4/Qw2YAAt5rUDzX LSAWgXk4WxxnQ== From: AngeloGioacchino Del Regno To: robh+dt@kernel.org Cc: krzysztof.kozlowski+dt@linaro.org, matthias.bgg@gmail.com, 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: mediatek: mt8173-elm: Move display to ps8640 auxiliary bus Date: Wed, 11 Jan 2023 15:07:24 +0100 Message-Id: <20230111140724.294533-1-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.39.0 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 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?1754735647854577113?= X-GMAIL-MSGID: =?utf-8?q?1754735647854577113?= Move the display to an aux-bus subnode of the PS8640 eDP bridge. Signed-off-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi | 26 +++++++++++--------- 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi index 18e214464a2d..f9b10c7027cf 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi @@ -90,18 +90,6 @@ switch-volume-up { }; }; - panel: panel { - compatible = "lg,lp120up1"; - power-supply = <&panel_fixed_3v3>; - backlight = <&backlight>; - - port { - panel_in: endpoint { - remote-endpoint = <&ps8640_out>; - }; - }; - }; - panel_fixed_3v3: regulator1 { compatible = "regulator-fixed"; regulator-name = "PANEL_3V3"; @@ -282,6 +270,20 @@ ps8640_out: endpoint { }; }; }; + + aux-bus { + panel: panel { + compatible = "lg,lp120up1"; + power-supply = <&panel_fixed_3v3>; + backlight = <&backlight>; + + port { + panel_in: endpoint { + remote-endpoint = <&ps8640_out>; + }; + }; + }; + }; }; };