Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp4547818pxb; Tue, 5 Oct 2021 05:34:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzuHvyyhpLfsJdm2GKvSjhGEOWBwYIld+c+dh/A8/eZZrtlckvaOaVSO0siiwqnVYj8ciwX X-Received: by 2002:a17:906:39cd:: with SMTP id i13mr23713068eje.227.1633437253107; Tue, 05 Oct 2021 05:34:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633437253; cv=none; d=google.com; s=arc-20160816; b=0lwuc71gLC6yNdGeVFWvMCXrNAgdwfbdx4h8Nj4sG5SPjC/Z+AbystgFOafXsPgAO0 W57qz2ziWa5rYqQyfcIo6ScRMggS/QAcwg6SXzlNGcymRhsx60SdwHyl1xY5qgO78TPU QgQCcR7ItqiDuTkF8vmVNVYgwyJnl8/VuQSSt/xPwgq5OxY73+zv4yCFmF90gIx9Rkjw d6TIqaoKKjOXsY1gx3i0FZhzJVCrqY8AyDtlmEveI88cBthwmCoXwmo09gdQSWT/cBBa T32hiBaAPFr0sC8i/OW1EOMOKZeoKcZ7+9BsX5SN3ZN2Xi9oZDUgMb6jf53+G6fCSaZN hQ2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=N1Lwc3TZAZ66eHmPUyWQLG09r1nnfxoUJfTdsd4eXl0=; b=tPBxk8WlIMJ5hi7yLD40hNNck5BryZGUmLIU4UKmt7typz6NxAzxjpcio2StdtMQUv q0Y8CxpkIpSRIesrpHe/i0xpoDizBEHJW8wJfBNl/HFzsAA8GY8Yovya93lJF+8L/3/h wATg11JJ9s+pCEPLeJ/zxBN1BQ0ZLtClKPsoDG9wzwwMaS+TmfYS2nnP7R1p9FApwEnz /xTikcUUo+RTFAeqOO/IdMD2iZnNMOYQsBwVXO7v/EGozZVQtQQTrqfpxGVuPa2wtlda 4BLyZ10+jqm6TqcTWp4nbb4QoaD/HUBHTRaE1yRFRhV9+WkKklPmv3cs9Da6XHOjWLJ0 Kxfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@goldelico.com header.s=strato-dkim-0002 header.b="IJzH/tSs"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r17si27110978edd.389.2021.10.05.05.33.47; Tue, 05 Oct 2021 05:34:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@goldelico.com header.s=strato-dkim-0002 header.b="IJzH/tSs"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234919AbhJEMbq (ORCPT + 99 others); Tue, 5 Oct 2021 08:31:46 -0400 Received: from mo4-p04-ob.smtp.rzone.de ([81.169.146.178]:14344 "EHLO mo4-p04-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234590AbhJEMbf (ORCPT ); Tue, 5 Oct 2021 08:31:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1633436966; s=strato-dkim-0002; d=goldelico.com; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=N1Lwc3TZAZ66eHmPUyWQLG09r1nnfxoUJfTdsd4eXl0=; b=IJzH/tSsVqsfy5JnYqCcuEUuC2Cq6opNnb1qqWFu6U6tN3sQXaMTrGV7RYBPXd4QnU Ql+wmzXqCXTwLdkN650hTXmUrnCyN5MfNj5VlehhH0dh6E8sPgH7gtHP9zgohQ8eBj9d PThdZ81tMIkw71PnfYvAEiY0wf7lUgI5L83pv5/ic4aC9ZMwm4ZLqsHa9D2dyGyr3Eua RztTZ0n2vDkr4a5ja7F7NW9qJ+7rIkI7udk+SJmz4M5ee5FcqgIWTMD7p0Qdj47Wasmk oYM6AT9p9BDD/U80FmwwzYTH/JLDxzLmshOQfS5ElEJ+/4xDGedzqhK7uu5hndezPlnC oijg== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMhflhwDubTJ9o12DNOsPj0lByOdcKlH0" X-RZG-CLASS-ID: mo00 Received: from iMac.fritz.box by smtp.strato.de (RZmta 47.33.8 DYNA|AUTH) with ESMTPSA id I01f74x95CTP50g (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Tue, 5 Oct 2021 14:29:25 +0200 (CEST) From: "H. Nikolaus Schaller" To: Paul Cercueil , Rob Herring , Mark Rutland , Thomas Bogendoerfer , "H. Nikolaus Schaller" , Geert Uytterhoeven , Kees Cook , "Eric W. Biederman" , Miquel Raynal , David Airlie , Daniel Vetter , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jernej Skrabec , Ezequiel Garcia , Harry Wentland , Sam Ravnborg , Maxime Ripard , Hans Verkuil , Liam Girdwood , Mark Brown , Paul Boddie Cc: devicetree@vger.kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, letux-kernel@openphoenux.org, Jonas Karlman , dri-devel@lists.freedesktop.org Subject: [PATCH v5 5/7] MIPS: DTS: jz4780: Account for Synopsys HDMI driver and LCD controllers Date: Tue, 5 Oct 2021 14:29:17 +0200 Message-Id: X-Mailer: git-send-email 2.33.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Paul Boddie A specialisation of the generic Synopsys HDMI driver is employed for JZ4780 HDMI support. This requires a new driver, plus device tree and configuration modifications. Signed-off-by: Paul Boddie Signed-off-by: H. Nikolaus Schaller --- arch/mips/boot/dts/ingenic/jz4780.dtsi | 45 ++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/arch/mips/boot/dts/ingenic/jz4780.dtsi b/arch/mips/boot/dts/ingenic/jz4780.dtsi index 9e34f433b9b5..c3c18a59c377 100644 --- a/arch/mips/boot/dts/ingenic/jz4780.dtsi +++ b/arch/mips/boot/dts/ingenic/jz4780.dtsi @@ -424,6 +424,51 @@ i2c4: i2c@10054000 { status = "disabled"; }; + hdmi: hdmi@10180000 { + compatible = "ingenic,jz4780-dw-hdmi"; + reg = <0x10180000 0x8000>; + reg-io-width = <4>; + + clocks = <&cgu JZ4780_CLK_AHB0>, <&cgu JZ4780_CLK_HDMI>; + clock-names = "iahb", "isfr"; + + assigned-clocks = <&cgu JZ4780_CLK_HDMI>; + assigned-clock-rates = <27000000>; + + interrupt-parent = <&intc>; + interrupts = <3>; + + /* ddc-i2c-bus = <&i2c4>; */ + + status = "disabled"; + }; + + lcdc0: lcdc0@13050000 { + compatible = "ingenic,jz4780-lcd"; + reg = <0x13050000 0x1800>; + + clocks = <&cgu JZ4780_CLK_TVE>, <&cgu JZ4780_CLK_LCD0PIXCLK>; + clock-names = "lcd", "lcd_pclk"; + + interrupt-parent = <&intc>; + interrupts = <31>; + + status = "disabled"; + }; + + lcdc1: lcdc1@130a0000 { + compatible = "ingenic,jz4780-lcd"; + reg = <0x130a0000 0x1800>; + + clocks = <&cgu JZ4780_CLK_TVE>, <&cgu JZ4780_CLK_LCD1PIXCLK>; + clock-names = "lcd", "lcd_pclk"; + + interrupt-parent = <&intc>; + interrupts = <31>; + + status = "disabled"; + }; + nemc: nemc@13410000 { compatible = "ingenic,jz4780-nemc", "simple-mfd"; reg = <0x13410000 0x10000>; -- 2.33.0