Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp1363408lqh; Mon, 6 May 2024 05:49:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXmC5v5sWq45kHKtmw15qNg+cqOuQCQMOsfdO4wYTk5EpEhYJInQIhlfyKpn6QJxnIccadYSfqqAFJxEI3WzLB257jET8SCGkoLATXeMg== X-Google-Smtp-Source: AGHT+IHgJTvKuc37SdD9AHFHc23CJC+dJeP0KRjzk6Xl/xkGjKDDdKFcWPXMXe5qWVlHfN/Mjw5S X-Received: by 2002:a05:6871:3a0b:b0:238:ffae:b5fd with SMTP id pu11-20020a0568713a0b00b00238ffaeb5fdmr13186291oac.54.1714999742115; Mon, 06 May 2024 05:49:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714999742; cv=pass; d=google.com; s=arc-20160816; b=yqMhOB8envpU39/bDPUUFed7PgOcO+3ID2hsMSf4njGeTa2k2gCReLNLOxXpNHKP4B wWCOe3CU2Q+HH2vG1ZSAZRfzXwekatHqqrUqTvUXL07N4O+HAdr3kzoEQBXt5LCE1r/2 lg6wGxtxbbx8qih1A7qv7wLtAK74Ulfk5a9Dp/AkKNBu7F/3h7p2TcGC7PraEyfjMCDm 4MfhAAVK/NqvXcgXEMjbNUK82xeQ4yDlpJByZ20kSUn/wEyjcO1i25PLqUHKH/MkTY4D ZrMNSZ7GiptXu8L8gsuH/Z/yYqogfG3n6KohNLL0h/KaCkuHFbIocfNN3u5cQNQtMYPY /Upg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=bJtmjdqtUtqP59WdEooWpSI+zvkv1vnQgZMSqE1E6w8=; fh=hKGSMyVwM+Dw5uA1nfGb09N3kiaTfiGErwJNKKKxM0s=; b=gV0abZeJGV7XLh7seLEjgjarZ4fxKdZvdNa4Q4pWt0IocGDM2JYrmZn8nPMOe6Db/h ofAtlG0J2ttto5Sa38mnKOHVbRUFs3kuTaOpPamf+pW3LXD2GQhAQLVsLLAe/5/2nV4L ZSOeQ9NgWJ5/DEcKQolrN6RUKiMggBB2A7kpGGdPKk1aHM/ZDdL6+dBOqSbvgaP/Rofg g0eAweqJY0ejt4hVVRfLLUYtOES0bQDMj1QYn/WG5VUuQIoxp0MGCNIIGCRDxoY+EmQ5 J6fdJU6g5XMW0uahVXU2gKHmAjeUnucBugSIJE5yaRKykWC5lzvqJBiBqAQ6rqdXUkzt IIfQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=sntech.de dmarc=pass fromdomain=sntech.de); spf=pass (google.com: domain of linux-kernel+bounces-169834-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169834-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id az19-20020a05620a171300b007928e0c5187si4847231qkb.499.2024.05.06.05.49.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 05:49:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-169834-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=sntech.de dmarc=pass fromdomain=sntech.de); spf=pass (google.com: domain of linux-kernel+bounces-169834-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169834-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id D090C1C23628 for ; Mon, 6 May 2024 12:49:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 92EDB6CDA5; Mon, 6 May 2024 12:48:52 +0000 (UTC) Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3FA9454645; Mon, 6 May 2024 12:48:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.11.138.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714999732; cv=none; b=gZRzwR4vVb8Iz+jJcHFEv5ToIgdsdoxshG5SVmlkHU3BwxtpBRjhd+P8ZGLzqOvRGZmYQ1okxvo936BLwdnYfKuYHtB5IX5SrYZJbPzo6nrMx5EciYZvDxDzK3CCMtfsIKKSSlBtPnmYS524sls4BbX48riFR/+tXTiDrZ2f4kI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714999732; c=relaxed/simple; bh=69iCLm09QGWcswv+yIGciO3RdHdWBKpfNDIVAauuaCc=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=h2gdK/H0/6uIjOg2Gk6n5OEhefPozsrI/M/3l+EBsE3W8gCksoT3LX0E9deNA/VvJ2OKKigOZ01N3nugDP+rIaMUZbY6kzxZN2fovVuGHO+ZFV0Xlmjk4J2TunnmiUl04P4pBrIw6KA9iNQxeil470v9KxGKo7aDDSB/OgYhh7k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de; spf=pass smtp.mailfrom=sntech.de; arc=none smtp.client-ip=185.11.138.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sntech.de Received: from i53875b5d.versanet.de ([83.135.91.93] helo=phil.lan) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s3xls-0005vc-H2; Mon, 06 May 2024 14:48:44 +0200 From: Heiko Stuebner To: vkoul@kernel.org, kishon@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: quentin.schulz@cherry.de, heiko@sntech.de, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] MIPI DSI phy for rk3588 Date: Mon, 6 May 2024 14:48:34 +0200 Message-Id: <20240506124836.3621528-1-heiko@sntech.de> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This adds the phy driver need for DSI output on rk3588. The phy itself is used for both DSI output and CSI input, though the CSI part for the whole chain needs a lot more work, so is left out for now and only the DSI part implemented. This allows the rk3588 with its current VOP support to drive a DSI display using the DSI2 controller driver I'll submit in a next step. Only generic phy interfaces are used, so the DSI part is pretty straight forward. Heiko Stuebner (2): dt-bindings: phy: Add Rockchip MIPI CSI/DSI PHY schema phy: rockchip: Add Samsung CSI/DSI Combo DCPHY driver .../phy/rockchip,rk3588-mipi-dcphy.yaml | 76 + drivers/phy/rockchip/Kconfig | 12 + drivers/phy/rockchip/Makefile | 1 + .../phy/rockchip/phy-rockchip-samsung-dcphy.c | 1609 +++++++++++++++++ 4 files changed, 1698 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/rockchip,rk3588-mipi-dcphy.yaml create mode 100644 drivers/phy/rockchip/phy-rockchip-samsung-dcphy.c -- 2.39.2