From patchwork Tue Mar 8 09:49:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Foss X-Patchwork-Id: 12773421 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 B6473C433F5 for ; Tue, 8 Mar 2022 10:02:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=fV1aBrZ5J5VzqbZxUImbw4GRX0syfN+S/IcY6/PIw/k=; b=hCx3MQSaf5TQ6b e9AXZEC65fb8SKcd8veFKzCI2Wmg7ukvlWKQSe7jNeA2O00P3niByhmaCCQkI5fyF+jL4zzynAvnY A4SgZEDTL3pmA4dKNW7sIUzjDprNaseU5NZHwERhenaj+SMbY1J6n5E0GfvwP0Jb8Apqe0JkRyXtN 8/48PHNyjbDH7jX65i5cUE8Af1nezy5ffv4cj6YVwcpM/0aVUQO6aM22gs2RRPQGwbNIfJwZ9MwX1 PmygwwgjjZvoqbPxwPGWuh8aGL0btUyE/XqTdlgYJJEo/Ee06iLBgjYJri3T37lGhIzAZGbmH6nKw A67xRY+edDja9n2X3jJA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nRWed-003gb4-HO; Tue, 08 Mar 2022 10:01:20 +0000 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nRWSz-003cAI-Gb for linux-arm-kernel@lists.infradead.org; Tue, 08 Mar 2022 09:49:19 +0000 Received: by mail-wr1-x436.google.com with SMTP id i8so27510395wrr.8 for ; Tue, 08 Mar 2022 01:49:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=8Gn7RMbXnK5pOX3NLfwNAKfKCwU3agMth+Gnkiqncgw=; b=n1mtQkUkGKPBmZFNsNswSmpz1kilToriI0Gn2TXWimIaqUwnDcc793xA5k7sXREWB6 aDIQ/y9tV1HqnLZy8JuSpLONMKWZBzeYvyd/x5N+mpbnjbPY2kBQ/c/WhErow4Fj1gor uOUMKwuD3519EGocbq+2HEjX84vF+gNrm4pDky3TtSrp9TCsWw1OZXF1eKhWMwb6bucv AWU1SucCnbuQgDzehoDmQV4lYdc4iMbLZtYMON9jA38ZZANdSt7LNKT/DbZXN9Z64NET EM7BtQDNvqOrhthwtkfpqZjHH6GSMyGu3tVGyEkyZ95FwSLGaBhQvvuuU3nXZgpE7ZyV yYJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=8Gn7RMbXnK5pOX3NLfwNAKfKCwU3agMth+Gnkiqncgw=; b=baTHcWNPTUvKc5L0gPi6guEB419yLjUtJ7XP3SMCt8OZFNq59ra2XX5I7GNFJ2jOrC KqYczQJtXm8CRywdlRkd7o3yGjfhFMtXDrIAca/eQIERxVY4Vt6Oujb4jPKsYDqssOt/ KRvjCshKFi1tSQwFvw2/KrG5CKZ8Hr+wcleyxsTVrIyjYqKY/5dznzeb+zuUAHAQ7EZX rbfoKjLNpd+g+4341Hnmp0BI3vO8F+Ib5oS5wcYd3Psmxg4j2sFICHHa9lKkbXCd/9X1 oCvDVkb/ixSYp4fB6UU4bbo1g7Ipy6ABM5mh1XMQbIla0Z4ZC4wHza4Mu6knFABKOu51 zgCQ== X-Gm-Message-State: AOAM532uKHnRnYSTBF5R1GccPz8JCuddmTPPFS6NMVwy75NCRy9/GqZF XQglhSKIQkSDtjT634fUg+XOrQ== X-Google-Smtp-Source: ABdhPJwgpwNlL+6iw/j8w2WjZiYerIbGT8Nl7xwa9rGUtNmbZvaZejExak5PLKkv0MXEHhHj+9F2TQ== X-Received: by 2002:a5d:6344:0:b0:1f0:21ee:9705 with SMTP id b4-20020a5d6344000000b001f021ee9705mr11450999wrw.93.1646732955982; Tue, 08 Mar 2022 01:49:15 -0800 (PST) Received: from prec5560.. (freifunk-gw.bsa1-cpe1.syseleven.net. [176.74.57.43]) by smtp.gmail.com with ESMTPSA id z3-20020a1cf403000000b0037d1f4a2201sm1684885wma.21.2022.03.08.01.49.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Mar 2022 01:49:15 -0800 (PST) From: Robert Foss To: airlied@linux.ie, daniel@ffwll.ch, robh+dt@kernel.org, matthias.bgg@gmail.com, robert.foss@linaro.org, laurent.pinchart@ideasonboard.com, xji@analogixsemi.com, hsinyi@chromium.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Chen-Yu Tsai , arnd@arndb.de Subject: [PATCH v2 1/2] dt-bindings: drm/bridge: anx7625: Revert DPI support Date: Tue, 8 Mar 2022 10:49:10 +0100 Message-Id: <20220308094911.2680291-2-robert.foss@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220308094911.2680291-1-robert.foss@linaro.org> References: <20220308094911.2680291-1-robert.foss@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220308_014917_598070_B402CFB8 X-CRM114-Status: GOOD ( 11.02 ) 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 Revert DPI support from binding. DPI support relies on the bus-type enum which does not yet support Mipi DPI, since no v4l2_fwnode_bus_type has been defined for this bus type. When DPI for anx7625 was initially added, it assumed that V4L2_FWNODE_BUS_TYPE_PARALLEL was the correct bus type for representing DPI, which it is not. In order to prevent adding this mis-usage to the ABI, let's revert the support. Signed-off-by: Robert Foss Reviewed-by: Laurent Pinchart Reviewed-by: Rob Herring --- Changes since v1: - Rob: Instead of reverting the entire commit introducing this, do a partial revert of only the relevant parts. .../display/bridge/analogix,anx7625.yaml | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml b/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml index 1d3e88daca041..25b5ef3f759ca 100644 --- a/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml +++ b/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml @@ -91,22 +91,7 @@ properties: $ref: /schemas/graph.yaml#/$defs/port-base unevaluatedProperties: false description: - MIPI DSI/DPI input. - - properties: - endpoint: - $ref: /schemas/media/video-interfaces.yaml# - type: object - additionalProperties: false - - properties: - remote-endpoint: true - - bus-type: - enum: [1, 5] - default: 1 - - data-lanes: true + Video port for MIPI DSI input. port@1: $ref: /schemas/graph.yaml#/properties/port @@ -155,8 +140,6 @@ examples: reg = <0>; anx7625_in: endpoint { remote-endpoint = <&mipi_dsi>; - bus-type = <5>; - data-lanes = <0 1 2 3>; }; };