From mboxrd@z Thu Jan 1 00:00:00 1970 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 2E2C2C4332F for ; Mon, 19 Dec 2022 12:36:33 +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:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=iizeecoZgWngLd//uqWAUP7QQSsLrAgBQISyASNL5Jg=; b=y/bQge+qowQ0Eo gKdYq5oFcjGdcnec1zY+G+DHV87ycJc0CQBY+sSvqZALSKbGVxcVCrNZRCGOKuH5du5K+G/8NTQ8X RU/x2pwHfpHy6dC45rln/FQJo3BwB86mpBtHEOeXpxQsCnnjGz9IZfy1SQfsc4A7XJxO4Hly8lKHM 25x8WzPtvS/LIUWD7jERQoxdUWyjZ1ktyk916ogTKESictvpIRTJhpdFlOOE3vSwh7sRUPrXfXS8y jNkvXPQzXtguQYDbS69US+zETfW2ehOqx1NAf3UHgBpdYxWOl5PsTv7lfTJol19dYXR0Qz8K98lvR Qx/VZEaJKtptkdNQLi8A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p7FMc-00DCtd-0C; Mon, 19 Dec 2022 12:35:26 +0000 Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p7FMU-00DCnY-8W for linux-arm-kernel@lists.infradead.org; Mon, 19 Dec 2022 12:35:21 +0000 Received: by mail-ej1-x62a.google.com with SMTP id t17so21169877eju.1 for ; Mon, 19 Dec 2022 04:35:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=rCYG7t1izN/gOyqR3UaPefTWs3YwGVtAE/HZuYn9Rfc=; b=ZKtkG+FX5U20S1M6EMAO9s5DcYzxSPb3NQCBOLLNZKUq1ijR3Q2uoYri0UIzTgvgB0 BuFxphDmBbwcllU3Gq/LcNYSqtuoFmVbWfxHoWpZbb485QqVZreK8NBdka6pJ9kqxEfi b6g2VtgxtP/YluAJZKnBbJAR0WCcpqKp7HjTA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=rCYG7t1izN/gOyqR3UaPefTWs3YwGVtAE/HZuYn9Rfc=; b=0chyly/KaNVOaTokJ4tg0JzbXFnvxlG42k3iYs81mY57OuK8YaP1zReBu874W5M06F nZ7hd32NX9KikDNbIrtPJx7Frspbd+RO/AQeM058qXkLM86NokFMDHriDXrhX9GAOYtg UROuFvuqOkmnh2/ALtPYH228i57iozU/ul8P+eTA3PCPkPGRcqA9GssxOlBCrNaXLhgO zuBhSy7SNqHg/61x3NVPqWD/uekThzbqAJ8lwiPDEeD+Jqy40LVovUGXhCKPpfI2bGRD tiUHk+a7/IDxKa/cyxsMaZ1RaKu/NtGZaeNXUUH+Oa6TP5sntCmO+JTgsbM+ipOCYWAA V/nw== X-Gm-Message-State: ANoB5pkrGpSo6h8YG1PJuCMSGGjaCy+39Ll98ibetQ6HvaP5ej40jkwf KOW2JUplSwDT6OxKvgV3s5KP1yotOzTFUD828mOUyw== X-Google-Smtp-Source: AA0mqf7MRvG+Qj2JseT+Qj2IY04GU3ehuu2j+6yoRs/z0TWbsGNO6utzwcWxYija4unhyYJGQ57ZKqf8K83fjcrrTnQ= X-Received: by 2002:a17:906:8383:b0:7c1:19ea:dda with SMTP id p3-20020a170906838300b007c119ea0ddamr8979778ejx.31.1671453314287; Mon, 19 Dec 2022 04:35:14 -0800 (PST) MIME-Version: 1.0 References: <20221002064540.2500257-1-michael@amarulasolutions.com> In-Reply-To: <20221002064540.2500257-1-michael@amarulasolutions.com> From: Michael Nazzareno Trimarchi Date: Mon, 19 Dec 2022 13:35:02 +0100 Message-ID: Subject: Re: [RFC PATCH 0/4] Add RGB ttl connection on rockchip phy To: Sandy Huang , =?UTF-8?Q?Heiko_St=C3=BCbner?= , David Airlie , Daniel Vetter Cc: Kishon Vijay Abraham I , Vinod Koul , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-amarula@amarulasolutions.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221219_043518_355520_D733A371 X-CRM114-Status: GOOD ( 21.00 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi all On Sun, Oct 2, 2022 at 8:45 AM Michael Trimarchi wrote: > > The rockchip phy can be convigured in ttl mode. The phy is shared > between lvds, dsi, ttl. The configuration that now I'm able to support > has the display output on some set of pins on standard vop output > and a set of pins using the ttl phy. The solution is not clean as I > would like to have because some register that are used to enable > the TTL, are in the same register area of the dsi controller. > In order to test I must add the following > > dsi_dphy: phy@ff2e0000 { > > reg = <0x0 0xff2e0000 0x0 0x10000>, > <0x0 0xff450000 0x0 0x10000>; > ... > } > > The problem here is the second region I have added is the same of > dsi logic. Only one register is needed by the the phy driver > Is there anyone who has time to review it? Michael > Michael Trimarchi (4): > phy: add PHY_MODE_TTL > phy: rockchip: Add inno_is_valid_phy_mode > phy: rockchip: Implement TTY phy mode > drm/rockchip: rgb: Add dphy connection to rgb output > > drivers/gpu/drm/rockchip/rockchip_rgb.c | 18 +++++ > .../phy/rockchip/phy-rockchip-inno-dsidphy.c | 72 +++++++++++++++++++ > include/linux/phy/phy.h | 3 +- > 3 files changed, 92 insertions(+), 1 deletion(-) > > -- > 2.34.1 > -- Michael Nazzareno Trimarchi Co-Founder & Chief Executive Officer M. +39 347 913 2170 michael@amarulasolutions.com __________________________________ Amarula Solutions BV Joop Geesinkweg 125, 1114 AB, Amsterdam, NL T. +31 (0)85 111 9172 info@amarulasolutions.com www.amarulasolutions.com _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel