From patchwork Mon Dec 10 11:52:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 69 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wr1-f69.google.com (cartago.priv [10.11.12.1]) by cassiopea (Postfix) with ESMTPS id 998BD2E540B for ; Mon, 10 Dec 2018 12:53:36 +0100 (CET) Received: by mail-wr1-f69.google.com with SMTP id q7sf3307623wrw.8 for ; Mon, 10 Dec 2018 03:53:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1544442816; cv=pass; d=google.com; s=arc-20160816; b=gniXLnd9UZYpQG9/jW8mnb2wIZLZXvDVQGX/30fE+vrBe/Chyms5Yui22SO2fXUCjs 4Lt4crBhHGTpLj1KpKgkoJOqh8aVLsuxFeStCwS0C+svlObHd6klHNP+4WPUCJYa1Ioa vNGrsGBmd/UTHP6iuPCgovIMcghW8Gdjsh2qZsuXgjRs9B7K7Hg/zfuCPy1r8cwEfJol Xy6QwRicCAuYVK/D7a2cdqPla+SXr/USO4ThJ09gqdhY3NwlQK6+/1PVypLOSDGGOazs RylfQXhd7bp0uvNoL2nrvtVSg1oEgkHHE6YQjPpj6yIFFaUZ5WZyHngK/DKodR6fsuHk PVig== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=YCOZorFflqds8ajAHDAaoT0p9NgnHCX+QglAEJ8Qg/w=; b=DTBL2BkFZu6H+02i5W452AEU8j9v8CcAXrCYSVw1+GQDVBN0wQbmLehTGCAhxTXunK PeGtrdJlTrd7SU9LyClw/2C4nC+CcYD3cVtSmLzgVawPyzs8jjFlVmnbhH9zLySJE8sZ VYYI33LsTYB1YHPbXwqnyj3YQoKJfsNEzPgdUAbl+29+4dElauDYkMETO0x87iU90wlL ZoZO6Hn3yUTGc5rbXcVcRlw2UB5n9BNq/0WopyMzYmI5RraKVnQ2x1OM3BrSLaEZDLQ5 lKrg1LBEPTuDTMNABO5vPcMQ937pwJmseqJt4CLPYc4RLg1ocvetxZ4lEuqc2mRCmUwW X9lg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="n/al2t3N"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=YCOZorFflqds8ajAHDAaoT0p9NgnHCX+QglAEJ8Qg/w=; b=YGb5KA3KvCZhsLOcDiiKJgJGVEBElEpleka6I1qaGrEEuQmtHKJo8PK1zgfhQqm/1j wc1WC0xj2oK+PE3E12ZDLg4OA3NnuXiGv1ZowVW9/KpyLFMS8uBrsoACAZPE6BBheBb9 pBsuwhd0SciY6KMWnWYouVtWZ/yJm5bgPNWyY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=YCOZorFflqds8ajAHDAaoT0p9NgnHCX+QglAEJ8Qg/w=; b=AwVbpT6t1DwESeOmOGC0Nj6HT2IHatqvDz/lFSQNTJ1DiDKtHa9SSc73Vc7YtNpSKz omfCql3AfuPxj1ckLIOz9WmyvbI9nwAgskijGkvjxRQVc9ny49Tp+hz+Qblw2ZUxqhKT SlgQEtupPdwdc4JcrV1oMDrgoQINsfAv7p0oHHpcbDV6cgCNiyCe4298YqUW+iu9CRoA UzYn7Ug8cURSvtZcBcDC8CpZUD+PcuCxXhPKiagOTaaRAQtA6Gj3vXna0jAjldUCLuIn LUqSYX1OaoTCOkKNtBK7pgHY+kIRp5DqqSStFe+RUJgmEE3VHqLIxpxGOYA2GDdWfL2G ai8w== X-Gm-Message-State: AA+aEWbZUbPCQ4ksHO3tj8LYsqqu/A6Mxe9rwyhZkBFmWRcmCISSn10b E2iOwZUTiSROwi9dsw0+Ft2rykoz X-Google-Smtp-Source: AFSGD/VPJmBplG5Bd5bvXSYO2xcXZEwFvXZj+QQ8ZN1Iqzuoh6lRUiDBtlMMOwP+lg/MfU/N8zRKZw== X-Received: by 2002:a1c:7e16:: with SMTP id z22mr1141841wmc.10.1544442816305; Mon, 10 Dec 2018 03:53:36 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:adf:94a6:: with SMTP id 35ls1895163wrr.15.gmail; Mon, 10 Dec 2018 03:53:35 -0800 (PST) X-Received: by 2002:adf:8068:: with SMTP id 95mr9525283wrk.181.1544442815835; Mon, 10 Dec 2018 03:53:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544442815; cv=none; d=google.com; s=arc-20160816; b=ttb5kwRETVWwXgyV6y9FnxEpqzPcLxkyPxIkh0FOmePOOl4josQTGxOTU7r6HASZSY CbFg4YBtpbgEw6qizXsEqDLOm4IrWctRacCvloHK2qztwlEFRfJCm+sL5J2Wz9IYTMdi MNBD09wMkl/tbSZg2jLkI09mR86zTHXRTcXtY0FsstnPZ/p+yoXj4c5HiHe85/qBMq2e QG9UzRQtb3qMnFcALFHeog22UbJGYo/PeRAXM/CCPbot69LKR494BpgkwrXqxVp1N7L1 I79nlgMBh3CmVw78hon2R7eeVQCh/ls5lNLu94OHj8Jyloi9hgQ1Ypu5O9BaAA6uYVqT tjmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=YCOZorFflqds8ajAHDAaoT0p9NgnHCX+QglAEJ8Qg/w=; b=gyNyZYf3W9h80ldsTVk8RqzAGEC4g2dJ3cWXiHRJ/kcBd/irArbmdIGdxl2uVmRb7E rj9fszB/+6gLqXQafhxq4ItIMaF65IqnYXBD+UPFWIRCGWAHqkmevrIrNU1fcG8oR1eM DAMl6PvyiHZkw50qgUIizzXKAwuFwRCPV4si4i9d1X5tuEpXstnJumGNoKEGHeAQ0LHU V25Hf/DrshkTFC1pUiIBlZhR/xFfmqVQSk58wUbow7tMGlgNTlTDWryES7MTjZFUKz5f 8ShIz+aO63NqzpjWFbx4Po/v6FQzBpfyw5yU2Myv+wmEZInqVK7RNB6qmm4xpGZynybb YB8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="n/al2t3N"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id o8sor3466293wmh.14.2018.12.10.03.53.35 for (Google Transport Security); Mon, 10 Dec 2018 03:53:35 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a7b:c142:: with SMTP id z2mr11014121wmi.102.1544442815538; Mon, 10 Dec 2018 03:53:35 -0800 (PST) Received: from localhost.localdomain (ip-162-59.sn-213-198.clouditalia.com. [213.198.162.59]) by smtp.gmail.com with ESMTPSA id b16sm7869243wrm.41.2018.12.10.03.53.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Dec 2018 03:53:34 -0800 (PST) From: Jagan Teki To: Yong Deng , Mauro Carvalho Chehab , Maxime Ripard , Rob Herring , Mark Rutland , Chen-Yu Tsai , linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi , linux-amarula@amarulasolutions.com, Michael Trimarchi Cc: Jagan Teki Subject: [PATCH v3 4/6] arm64: dts: allwinner: a64: Add A64 CSI controller Date: Mon, 10 Dec 2018 17:22:44 +0530 Message-Id: <20181210115246.8188-5-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20181210115246.8188-1-jagan@amarulasolutions.com> References: <20181210115246.8188-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="n/al2t3N"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Allwinner A64 CSI controller has similar features as like in H3, but work by lowering clock than default mod clock. Signed-off-by: Jagan Teki --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index 384c417cb7a2..89a0deb3fe6a 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -532,6 +532,12 @@ interrupt-controller; #interrupt-cells = <3>; + csi_pins: csi-pins { + pins = "PE0", "PE2", "PE3", "PE4", "PE5", "PE6", + "PE7", "PE8", "PE9", "PE10", "PE11"; + function = "csi0"; + }; + i2c0_pins: i2c0_pins { pins = "PH0", "PH1"; function = "i2c0"; @@ -899,6 +905,20 @@ status = "disabled"; }; + csi: csi@1cb0000 { + compatible = "allwinner,sun50i-a64-csi"; + reg = <0x01cb0000 0x1000>; + interrupts = ; + clocks = <&ccu CLK_BUS_CSI>, + <&ccu CLK_CSI_SCLK>, + <&ccu CLK_DRAM_CSI>; + clock-names = "bus", "mod", "ram"; + resets = <&ccu RST_BUS_CSI>; + pinctrl-names = "default"; + pinctrl-0 = <&csi_pins>; + status = "disabled"; + }; + hdmi: hdmi@1ee0000 { compatible = "allwinner,sun50i-a64-dw-hdmi", "allwinner,sun8i-a83t-dw-hdmi";