From patchwork Tue Jun 25 09:57:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 13710814 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 91C16C30658 for ; Tue, 25 Jun 2024 09:57:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=qF1YJYptXWfDBxwzTIeTgvB7dEj4RfJtD5/KNTKFabM=; b=FXPh5N9A4ZhNq/oAju9sQwRRJp UewCrf3otFeigmBUZg1PAznT8y9qY0MPfkwxHP3TNHvcP3PFpJKHQJ8wLsyG4EsjGK/5JSH53Vx8X 9rXc7XRgqlEwEkVK8yXn5yvmcLGlst9RiJIzoAAiYbHWxh4t3VrLmDDh5VXguuoK8rAKrRbXB+0rH pO8KLZP1Ol1uLtxomDRUjWMWUdDIrM7mjUlF1dGWjUV5SGnXhFAHt7Elz34nTNTlXKC9J7betP9ow igeRWnZ256lJEw/8jpcmpCh41LLJwg9YroDnTj7Fgzzxz6ME3btkG8cLVmmEwje65pFM2BNj+JOZb RphN8/Kw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM2vO-00000002Kr2-1ZV2; Tue, 25 Jun 2024 09:57:18 +0000 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM2vI-00000002KqC-376x for linux-arm-kernel@lists.infradead.org; Tue, 25 Jun 2024 09:57:14 +0000 Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-7066463c841so2157836b3a.1 for ; Tue, 25 Jun 2024 02:57:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1719309431; x=1719914231; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=qF1YJYptXWfDBxwzTIeTgvB7dEj4RfJtD5/KNTKFabM=; b=bLnHm0Rq0qpX88o5b246bRfkKBuE7iwdhE/TQ9nH5zBEp/oWMEfAxjun2MA83z/DSq nwTN5UxPKjut6i5/5D7cDXIiOpBzse25p7ewX1nYf65QXI/WU7QAzE3QXVu1Cec1XwvV 6ovWQZgX8fvgtXNm6QHXSZiVN2soPw0p931Go= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719309431; x=1719914231; 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=qF1YJYptXWfDBxwzTIeTgvB7dEj4RfJtD5/KNTKFabM=; b=h4Ns0mmCeKm5/Y4ewdBuQDx1j0xV6bazzA1IrBCctiEzRsQW4z0ZeUFmy4/2wh/PXV PXfcmLJYOScKh19xdqfKW6lvk7qwX3HSAUtTlaq5SD/sVMcL7Boljz4xGltqaPBDGiVz o9Cz4dlcd7UvSsHPJpZqScl6lTrDEt5YyZCnDJ8xuswTdbZ4iJbb6/He3eXMwLafPRJ8 6rFCllwgurB6pXJF9M2KfNkA7e6nvbX2a993Fh5K/U3yrkCe83ahW4uBV5oshODdgOzc jmPTFpJvcTdFDu7Z2OkkFa3LxWXs5+S3E69IDv6wjjPdv5hel5iYy+xUVw0FnvTVOQxf q/GA== X-Forwarded-Encrypted: i=1; AJvYcCWqSpQ2n8/XGtex5PRLzNQ6PVQqI3MKiwavP6vzLHgg/RUz4kmmBxeb7ZN3qCprPiBI4Z7qkuFnago816gz1wm7zvoSvFxRCz4NkY8faT7wnOg4+OQ= X-Gm-Message-State: AOJu0YzNqKkLINVf6pBrbl96wEV0u5Lf+JtQZX9KQFMTJq9eEHhq/x47 589mDleOjK2z5VseVgvQg6BmeYBLVRBYRYYbE1ABEhxITrJTTz/YnZ5stHVGCA== X-Google-Smtp-Source: AGHT+IHpPnnOVZu547p/nqZZHcdZDYKUwYH9Z0EG/miyFDAKG8tkNavHDYu9ST2rn8SZoZX4/BKRwQ== X-Received: by 2002:a05:6a20:b906:b0:1b6:6d41:7bd5 with SMTP id adf61e73a8af0-1bcf7e7664dmr5586707637.15.1719309431324; Tue, 25 Jun 2024 02:57:11 -0700 (PDT) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:ea5a:67dd:bd1e:edef]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f9eb32b8absm77094295ad.117.2024.06.25.02.57.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jun 2024 02:57:10 -0700 (PDT) From: Chen-Yu Tsai To: Matthias Brugger , AngeloGioacchino Del Regno Cc: Chen-Yu Tsai , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: mediatek: mt8183-kukui-jacuzzi: Simplify DSI endpoint replacement Date: Tue, 25 Jun 2024 17:57:04 +0800 Message-ID: <20240625095705.3474713-1-wenst@chromium.org> X-Mailer: git-send-email 2.45.2.741.gdbec12cfda-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240625_025712_807185_B7FA00BC X-CRM114-Status: GOOD ( 12.49 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Currently the Jacuzzi dtsi file redeclares the full DSI endpoint tree from the DSI controller just to replace the remote endpoint. This is not necessary since the local endpoint already has a label that can be referenced. This will also confusion when the inherited layout is changed. Replace the redeclared DSI endpoint tree with a label reference. Signed-off-by: Chen-Yu Tsai --- .../boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi index fa4ab4d2899f..783c333107bc 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi @@ -91,16 +91,11 @@ cros_ec_pwm: pwm { &dsi0 { status = "okay"; - /delete-property/#size-cells; - /delete-property/#address-cells; /delete-node/panel@0; - ports { - port { - dsi_out: endpoint { - remote-endpoint = <&anx7625_in>; - }; - }; - }; +}; + +&dsi_out { + remote-endpoint = <&anx7625_in>; }; &i2c0 {