From patchwork Thu Dec 20 12:54:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 112 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wm1-f70.google.com (cartago.priv [10.11.12.1]) by cassiopea (Postfix) with ESMTPS id 8B8EE2E54F7 for ; Thu, 20 Dec 2018 13:54:57 +0100 (CET) Received: by mail-wm1-f70.google.com with SMTP id l73sf6430989wmb.1 for ; Thu, 20 Dec 2018 04:54:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1545310497; cv=pass; d=google.com; s=arc-20160816; b=h5QRub3VKFiYDtI4seVE3ms9qesp2B8iYA6Oa96TGkPjFYuySP2wAtQguM/0I4z4BK GotBIj76gg82DXqtBcIrCHTS9kqe0IkKSxbjwpAleJOLXlMK19L5PYdZCol1SOvePFNK Jo9OJITi7MIu1cIb35QkmB+dDa3LSwhcf19PVs8TUYJSEh+jH6Fe0hOp+oDirAC7XzKW pWjPHery38CvLCJgNyg4BhWnXUYpnL8GGTzja267OEVr0/QxQ/SK3xYPzgW12hLrSN7F pwwXuZo9TBaw9OIYKy1Ccqk3u9rCxW7zrhK2ADz8wB6VRVh9vc3g044a6YUgLAGyvKXT 29eg== 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=m0UotJ6nMTM3h1fk1lcp18EEvPgS5Z4DN8+LlAUbw6stzj0L0+h4T1AauyrgbxqHKn 7zrwAeatxRIHPGrqymTLy1d0sdo1ZFPkDamuzSrzrysJGpzRx7nj7QTBAA4ks1pndPmJ IiXpj1iJcaVPlVzkfY6hXvK1vaazULhvuQ1ESOLaL6cC3h98xUfVZa4VTIO3sc4AXCQj 4lizxTliNfsPDjZuQz/hd1fQ1Oxi7XKXSe13+4YpWE5rL0XyYAmJvpvqAKHlTZOZdQP/ r1xd0gYhy9Z5sDzPcJSWQgFsLL9sMZ8+lIh869/lsTY1Xo5vVrGNB5ehR+Mdif7hqYX8 LDUQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=KuwjOwsz; 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=BTCzkBXFTnb1f3XZI7Ejl/askN9X0baFEcvNslQtkz7eizBgfK9767FwLmhqV+ah2R 60rb/skpoHIO6rnyUVKrNw4RSVHU6Ov6sSIUG/Mr2CJNuMwDBWliTuqt47+NzEUam0BD PrXDAk5+p8+MVpbJI258hvhZFMCtimgfjrCWQ= 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=rnM6EwksfmLzKgo5Ux4pAMP3nE8BXgK5AKlows/f3ivnevQw74En5Rl9+S/je/yuWN PbwGPixalxNosYQdghIcnnYNU7e0XHDZod5D3E+RjTVy2JgFNKqbZiwRlMy4DTkEGSfG pcuASGPo6aYhu0rGCpoYzCzey83nCnnJp0A30lkOE3Qhlub5/obbyiJKavcnniqdvmha zoPFFhi9Xx1+qSkElDb24rbN+tL9P+xa6NZoOsNEaJb6yGIjNXlZVeUxy1blTn8utuMd CpXdYnvmGwl0MDemBBO+S/xoT5xCuMdJfPTYI6CeOihHa8FTchZXsdSA7TEtjjPBF0c2 4AVw== X-Gm-Message-State: AA+aEWZXL7rpvCwdIOUqbr94Yguna3rFXK3ZUlXTFM25ju6M63FB0WO2 0YiEmdPxxDWfk93ORQEe3sPStERv X-Google-Smtp-Source: AFSGD/XA0TtZE3/tM81bp1yooUZvWK1bRdrCEs8hUdTcwoikC3yc7rKM4z5nuziu588cCqd2jher0g== X-Received: by 2002:a7b:c414:: with SMTP id k20mr1138466wmi.8.1545310497143; Thu, 20 Dec 2018 04:54:57 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a1c:1f41:: with SMTP id f62ls695895wmf.14.canary-gmail; Thu, 20 Dec 2018 04:54:56 -0800 (PST) X-Received: by 2002:a1c:c44c:: with SMTP id u73mr11862553wmf.45.1545310496440; Thu, 20 Dec 2018 04:54:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545310496; cv=none; d=google.com; s=arc-20160816; b=ZyiT1zTsOCkqUnpINF62HPXABNcnb7pDwLhAeyAI0GQj9x9XpPKmvRqya3Lbbd9XVd iX30IwSo8JDBNzTdQGPLLKw0tw+NE4SBq4S2aqCCzK5NHEdvPgKkeU8ivf6auu2kxubl Hs6ujPwah+TswjcSOf8DHWmah7iqO10jlyy60ksQzO3wcFtVqHkkV330mPhTzqCu3AT+ wCWhKH8rFB2axuGpbde9X+U7f49zHqP7RyUWscOa22UdKXIqIGtaf7NXe0QjG06KKbr4 tNQTrgj5VZHsiCZKpLWYSPbrNZrovGTzcMPfRa9lkpEO69ZHPtZAuVPaQgl6ztOpg/os aobg== 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=rhNAzKaImCDxx2ZhPwQ78Uq56m1VmzVEoA65RacMFpJFOrDhp8PCY5mLoSWH5MjIsf qOgeC3A6qw4YMRkxywVZiAiBcnADprXyRxpFZUO/eKjsW17Pa0r1OYVuvw7DvimRz8sw qb2X9nun8iBL1eXw8TYaGJK4eUDY3nTnNUxKOM6mqcmG583yveAsdH7ZQen0smFWyxYE Y0/2qZmjpkZakWcQtkPvd4PzkeSBlkK1FjkJkezi4LTQP5VgrRSxCUKCHmBCLQhj1qVC 1TM3tFYZkZZVbWQCmAqtf9Z+/r+nrI+9PaAFb2FkWxEo/YBajO8+6hGOqbyKZ0TmRnwh A7hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=KuwjOwsz; 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 f20sor6195099wml.10.2018.12.20.04.54.56 for (Google Transport Security); Thu, 20 Dec 2018 04:54:56 -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:a1c:864f:: with SMTP id i76mr11106358wmd.83.1545310496157; Thu, 20 Dec 2018 04:54:56 -0800 (PST) Received: from localhost.localdomain (ip-163-240.sn-213-198.clouditalia.com. [213.198.163.240]) by smtp.gmail.com with ESMTPSA id o4sm8732756wrq.66.2018.12.20.04.54.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Dec 2018 04:54:55 -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 v5 4/6] arm64: dts: allwinner: a64: Add A64 CSI controller Date: Thu, 20 Dec 2018 18:24:36 +0530 Message-Id: <20181220125438.11700-5-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20181220125438.11700-1-jagan@amarulasolutions.com> References: <20181220125438.11700-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=KuwjOwsz; 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";