From patchwork Tue Dec 18 11:33:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 105 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wm1-f72.google.com (cartago.priv [10.11.12.1]) by cassiopea (Postfix) with ESMTPS id 4562C2E1136 for ; Tue, 18 Dec 2018 12:33:38 +0100 (CET) Received: by mail-wm1-f72.google.com with SMTP id y85sf723232wmc.7 for ; Tue, 18 Dec 2018 03:33:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1545132818; cv=pass; d=google.com; s=arc-20160816; b=ug4gqXUfkR+4U7TUIGiunSokb8l87TUYJ+OPjRqnJ+vk+xdgM+P18YvMUpxy7MN7cq wv8XwWPqeksGFdLdWgGlFpSJGdf4O6DnueC8DMymI5DX7cu36P/wjMUlrYoxhh/jvh1t CsC0qHtBvOilNo43mguUFfc6qXiBR9yHJMx2fqLv+SdKhQtH0hhBpNUbEQcX+XVmWXec k+XhfcGFcGLKVAflf+oouZOxmG//6zM5+KkEmRMcd2wxr1az3XK88khb68mK9aR2cOwG nQGMoS9ytXWdzWdWoRjteYBamy+ZObALApK1rQ2MiUJrUG3lq11AQh1arhvcGjj9SOCT MN0g== 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=i+sX38c9cSRrT/+P6z3U+yEFrwV+FCNRU4fj085KJck=; b=P0QznoWDZEgIZy6uLVTa+Ah1P+b3RmUD6aign9qmBTGEcbc4hHxUypr3g49murJmft 5VJKn4KIfre7jyd0smK+Nx9OZ+KapspA/J/3FSo395if4FGdRy6HL7WBKQq7WzHGrYIj rDPKr+twKSP0hUsqT4x0yEUN0Zi9qkrBIQhVRM9eWIJMp3r86HRXD6bPN3zBo6PYbCHf obftGvv0amX6mrl2lJe2tMns1v+K34w/IEHGBi6ZxqsfdKsuDfqM5sEpH78MR+MEFkrW QktFXVrMtu4jqEMI+fpIsKNSG2auSf09R1dlF/HUW8AcM0bqV3vQt7ydVOu/ztnf/7NQ mEUA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Daz3Z2Cb; 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=i+sX38c9cSRrT/+P6z3U+yEFrwV+FCNRU4fj085KJck=; b=QilhG31uQanfZWTxRcwH6Z+9EcgLWgGDMnwMxQTktnkZeIJnJPmUTB/AITsTDTgPq/ wCXZZU/6pjjHqG4tmaN/yccY6AJ+hE6UrP8QLXRvp5UnSsd5lZsRK4JywKlNXcg+snOh U8zaFW/Dh/v1xxZBi/VJngfhT/+zFnCtrXzvE= 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=i+sX38c9cSRrT/+P6z3U+yEFrwV+FCNRU4fj085KJck=; b=kmLtJRAVr/zXSCveJWJFfL+2oV/yAmyLD7wQoRR3ALmes2H3vE7bQZKV+lavyjMlyB HuVUtTE+ezb8c4gBmiioWoqXck3/HfLXqXERLBP0Vn41opOsYiLXCA7uqblqYZ3mEBRD HAIwkxmH/Ov5ryXFtSLwKXVhQRnPWA4uUi9w20BJOtH8P9Rd6fJ5szcCeokjTT5LfkTG OyASdcMeYW6M3Y66CZKWCkaqU4BWFUGajPE4euodTLBYUTEhP+goz44zS3OSAuTBRgmU Pehc2tqEAwRkPS8nbXoUjnMemO5SuZ/7E1il+o/fI8Of6FW3qDuwcg1HdDxW9CmROLtZ kaEg== X-Gm-Message-State: AA+aEWYLM68z+MouwnEdnJD9cESFmedLZpZAOWk51KmHZYID9hsTOOr9 o3at6iPuDf+MJdWTwyTyM3TMdF+0 X-Google-Smtp-Source: AFSGD/VZhduRJxh5lpsyNlY7bo0TcwLMl/oCinSb3MH04zVxjIlUyU637ACq7mYv0Dc2ZpkXcTy1Ww== X-Received: by 2002:a1c:3ad3:: with SMTP id h202mr287859wma.25.1545132817924; Tue, 18 Dec 2018 03:33:37 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a1c:d78f:: with SMTP id o137ls131986wmg.1.gmail; Tue, 18 Dec 2018 03:33:37 -0800 (PST) X-Received: by 2002:a1c:570d:: with SMTP id l13mr2921885wmb.139.1545132817430; Tue, 18 Dec 2018 03:33:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545132817; cv=none; d=google.com; s=arc-20160816; b=YRoIzE6eWW9FKrxpT4n6AUCandp965pftGRmHhCsTByGeTQSTqxTEUlQ0RL8kPtq3x 4M/h0W5evsqqrjNKMaC6KgLqLdxgHknNkBNfdbirVfHFgsf9viUuCKK3mdTJ8LRUEIsE bc4zjmaV0yChuCZBsWyYht6ZMwyTbsi05rtLowRfgt7mfWhjbjb9l4Iskf39dc5WwMst 5wN8rCWFpqxACUMbv3en/08Om0IMuMfyYVOzkalNfqwE/WcuI/I54YTyyOm2LB+XbV8O +s8Pn5d8UziTtzp1lTEp+30YO9luNeIYk4aw33YMV/ozaQq8c1SmNLThb6W6NBLUiiZ5 wH4g== 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=i+sX38c9cSRrT/+P6z3U+yEFrwV+FCNRU4fj085KJck=; b=p4jLOtWhNHtUo8joLTBKNR9FBU4cvAc8jc1IZVs804cLNCml9hlL1F344vdCsTx5/V w4hAG0SuMz9PuRzqKSauAGH3JgkhPhFofGaTsSQNWUoE1yy0UbqxoipP11YQkdHyiUzD grCelY48c2fMQHBOxOPJ9yLmch+iko5Z71CKVMDTN1K4nn6CbLdTaJova11ZGQw7Tq8Z E4dfrC9YOAQOpcd1zvpY9v91evmaoEBzMXmXOEnZvIgiw6dlv8ZXxLZM0Bj9/tb3vCFw VbrOSR5j2zzobGnieDKgDbJCE8WZKswUDsbpSPID2rnZzRs4CfmcLOG2xvo49cMIuwF3 kK4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Daz3Z2Cb; 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 b3sor2283970wrn.50.2018.12.18.03.33.37 for (Google Transport Security); Tue, 18 Dec 2018 03:33:37 -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:adf:bc87:: with SMTP id g7mr13685629wrh.250.1545132817098; Tue, 18 Dec 2018 03:33:37 -0800 (PST) Received: from jagan-XPS-13-9350.homenet.telecomitalia.it (host230-181-static.228-95-b.business.telecomitalia.it. [95.228.181.230]) by smtp.gmail.com with ESMTPSA id h2sm4276184wrv.87.2018.12.18.03.33.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Dec 2018 03:33:36 -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 v4 4/6] arm64: dts: allwinner: a64: Add A64 CSI controller Date: Tue, 18 Dec 2018 17:03:18 +0530 Message-Id: <20181218113320.4856-5-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20181218113320.4856-1-jagan@amarulasolutions.com> References: <20181218113320.4856-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=Daz3Z2Cb; 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: , Add dts node details for Allwinner A64 CSI controller. A64 CSI has similar features as like in H3, but the CSI_SCLK need to update it to 300MHz than default clock rate. 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";