From patchwork Fri Jan 7 15:05:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 12706767 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 D0167C433F5 for ; Fri, 7 Jan 2022 15:06:59 +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:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=omvv3f3ygIKMiDIXf7xHxHyLh+X2M/ssYOsjYj+pDFA=; b=kf9WMDaCfj4yZy ugS3C8C/I2M6Xv5U4mosUtpeUcOsxkwk9jFQ75k4+JphaY0uD5PadoWmP65v9HsUcAq2Y5F0oTeTd BEIGH+t25Iwfb0gXaaDbnjc25IcU0WXmPUu1vyQibOTFO5yTdNq4f6KNEr+oRKGgwdl0x/Y3E/d1g xY9nbVTGXd2Iyv+UDK3vvR00+1oAKYB4wlH1s52IYY8Uwy4Yypz3+a8cZLTtbR9K03Dax2m6VD8MT hvrYG+tGULB2GfYIx2A/yOm4hyEfm57IHJa37hDN/yvMeUw3jMlA/2dnpwugxTLxhhsddYjmgIz/o tOJI17SIsJsMHQZc52jA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n5qoQ-004ODT-BN; Fri, 07 Jan 2022 15:05:50 +0000 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n5qnw-004NyH-KZ for linux-arm-kernel@lists.infradead.org; Fri, 07 Jan 2022 15:05:24 +0000 Received: by mail-wr1-x429.google.com with SMTP id s1so11606773wra.6 for ; Fri, 07 Jan 2022 07:05:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=6hNM7Jx0ka9c89ARXL18Y6Yomz5BgQ3R+02Ck2gVejo=; b=znEnsrWNoFHGs0yDXT0ajFzwU3OmTsmRvzG8YPbXJWhTE3RvFvkGF0qip3OKuZ9hkV pH1kfep0nAMkZa70Ig88zskk6DuT2hUovV8k3yDl8LUBRr6qLgWZGObYSafE1RoYr7aD 3ne8alY1BcDoA2PCxjhiFXWJ96tba09NTTPYRH3AtwJUcV9BSu+8S68ZP67CUrYEHhQi pdKFBZje2nL9bik1Rf7F8fnK+Ju1ptnXg6R61JT304s+PUvM3NxkOAaBTGLNOxYUD733 genYxlDbbQnIMLpqnIYFS0ZGH4tjjOcRDrjgfIGMz+04huQVwJDrFynQbUif+tMZ83DJ sOxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=6hNM7Jx0ka9c89ARXL18Y6Yomz5BgQ3R+02Ck2gVejo=; b=X5UgZAlFudPTg1eOQbBxcMwxeONHf3riYNoO+qHnX+jDLVEAC98eyE4jZpfAC3DM6A 3C7KghnCjLE3dGuRGO1ShQ7n2rXrks1gCfd999Sg+B8qQw6d+rfKzxF4183yInG8V/5Q NDPPl+1O6ezZbI9zvzm8DOFDnewUwUs8tsR33XukMA5dOOaEPqYLU5BHaRLb1G8g/jy/ YXLxpPAyJnmTI6iELA3UL5SWLbxlvMsdw038Q7WdvVOhIhPnuG3jDrC7Pt3TMqJIDvak l3PQSatDCU4bIa6S9fSW7IlZC5EY/xuNVr2DCPGpOqJqIoD5dGRIMqKIr94JrwlaOL9I BW3w== X-Gm-Message-State: AOAM531FKF3hozFAQ3WvJCWfdrkoByBbGtvQ+UAHmBBMxSlkBaBnoftz KwWUsb5yo/SDFWOrMKEbucWYag== X-Google-Smtp-Source: ABdhPJwsYouaf+AyQmEepe6AEBBvuC5jNOW9Pb+QrOUDvWasENRXpdZ7054JoO1WwFi5HzBbNnHvhQ== X-Received: by 2002:adf:f103:: with SMTP id r3mr5618982wro.555.1641567916256; Fri, 07 Jan 2022 07:05:16 -0800 (PST) Received: from localhost.localdomain ([2001:861:44c0:66c0:fc89:e826:8938:cbde]) by smtp.gmail.com with ESMTPSA id s194sm1848246wme.45.2022.01.07.07.05.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jan 2022 07:05:15 -0800 (PST) From: Neil Armstrong To: kishon@ti.com, vkoul@kernel.org Cc: linux-phy@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Neil Armstrong Subject: [PATCH v3 0/2] phy: amlogic: Add support for the G12A Analog MIPI D-PHY Date: Fri, 7 Jan 2022 16:05:10 +0100 Message-Id: <20220107150512.614423-1-narmstrong@baylibre.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220107_070520_832431_3BE3CC25 X-CRM114-Status: GOOD ( 10.79 ) 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 The Amlogic G12A SoCs embeds an Analog MIPI D-PHY to communicate with DSI panels, this adds the bindings. This Analog D-PHY works with a separate Digital MIPI D-PHY. This serie adds the Bindings and the PHY driver. Changes from v2 at [2]: - Bindings example fix Changes from v1 at [1]: - Bindings fixes [1] https://lore.kernel.org/r/20201123145157.300456-1-narmstrong@baylibre.com [2] https://lore.kernel.org/r/20210210080736.771803-1-narmstrong@baylibre.com Neil Armstrong (2): dt-bindings: phy: add Amlogic G12A Analog MIPI D-PHY bindings phy: amlogic: Add G12A Analog MIPI D-PHY driver .../phy/amlogic,g12a-mipi-dphy-analog.yaml | 35 ++++ drivers/phy/amlogic/Kconfig | 12 ++ drivers/phy/amlogic/Makefile | 1 + .../amlogic/phy-meson-g12a-mipi-dphy-analog.c | 177 ++++++++++++++++++ 4 files changed, 225 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/amlogic,g12a-mipi-dphy-analog.yaml create mode 100644 drivers/phy/amlogic/phy-meson-g12a-mipi-dphy-analog.c