From patchwork Tue Dec 18 11:33:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 101 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wr1-f72.google.com (cartago.priv [10.11.12.1]) by cassiopea (Postfix) with ESMTPS id 048472E1136 for ; Tue, 18 Dec 2018 12:33:30 +0100 (CET) Received: by mail-wr1-f72.google.com with SMTP id x13sf5208707wro.9 for ; Tue, 18 Dec 2018 03:33:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1545132809; cv=pass; d=google.com; s=arc-20160816; b=muX9o556kz/0suFVAYaU4wTVuam0nS7SiWnovT9BHdjRoIBDGzHk5Q5Subn6W/EoPV vx9+DnVdmmG7ABKOOQ16YsDKGJKwIIkyeJpZat4VHUPyg9LuVCPXDWpUaA3PvaguuqTo I+V8OZHEgcfF2H7TyzSrDNcYAd1Ca/7yIAGwUY0ncjQRhhFepS9/y8u9ZektqNwiiWsm GG4//fxvWWi0Wde2YwyHF9jeMAJ05nV8P/KM12k69Y7InLfXx10ZIL+Atwj70IMnyqDr EeRdN7kE5mCvUplzpZKliLLmVUQqirQCEX7CBJcubg1yk+FLetPQgEiNuW+gSfN9Wd2l lQ2w== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=/ZX3Vb1QocJF5KFof1FWVSsQ8WcfFPPJfBBeloD+g+g=; b=ctKTqDDVVTb5mffzlKKAazSIzYA/GDtBJ9TL6vmy6YQ9Jfv6y1R7NmKvAlmcDUOSk4 Ood5s/KO0c4ON6ONnIWhZASZXe64Z7PUba91pecXTNlKnzM1XiIr4pW5fDOdqvN023Uh zayRb4eEZ5hhI4JxiERkgRu4EAxzRb0IkKnMgMuQ+LXIfawx4c1xPb/t0hP4XcxWhvu4 qqT+4+T7SvlBU6zoHqBeOv029BwiqGVF3ZV//Ytn0PWs3RCIWwg5bpT2pzdSECmOEBR3 W+eKUxmdlpJo+pr1QdWTsa9Koy2B4L6iwzDaLqZTRbsHaiOp9PbpLZM0njI1o3KeAWCK 3BtQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=KXuf4HSt; 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: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=/ZX3Vb1QocJF5KFof1FWVSsQ8WcfFPPJfBBeloD+g+g=; b=Ae72BPiJV73ED4oAk4c08Xhs2t7pGxcKnTFu2yO84av23QZo8Gl+2Y9Uf7TelSCz9/ aWG+RtYNkxAvFdSK5kylAAvy+wt05pLcgaV1NLHLNiqm4IJc/LtUb0T3Yo7SiUQp+11j 3QBkirua3Zo3UbskdeLATT8AJBboXmJ0gQnlE= 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: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=/ZX3Vb1QocJF5KFof1FWVSsQ8WcfFPPJfBBeloD+g+g=; b=ujT0soyT+5Cwzootp2E03tKCA6Zf9SCQobl2kTtioxDKfEboKaS1EAL8JTtv//pqdg JUWf31QQd8N3X9sxcI71z8p2ZyXKTkVDz9SSeKwyfH+OMUGIPYZtwBPGJsfJMm6G0xJv N3rZs7sPAPcl1YGC6gmVUAMouvmevr+HSs0oMWlqJcRUa9YW8C+tMn4QiUX4Irpxjxys KqlJ68/cMZX1aSEvIlv5cDtB/rf/+GTOf733q8FzENf/sUJmPu5DOb6A4psdq+v1A891 ufC6+7y866Q2pZMYsDHeSmNhPsHLgBlRe7VK1VgZjpAV1CausKGqYLINeRYEfQFyKO/9 8gcA== X-Gm-Message-State: AA+aEWampJ1gNsEb+SYR9/ybXTVCpowZwk4a5cs65Lh1xFoT86MSGef4 yhv/nKgCi2Rec35+wKIr3zKUrQfm X-Google-Smtp-Source: AFSGD/U71Pt9SOELoccAWp6gXhyajhM0cIjJxDya1kSVZYzFwgM/D58XAJmi1IwVopweHWecmtMFOw== X-Received: by 2002:adf:d14e:: with SMTP id b14mr1484410wri.16.1545132809488; Tue, 18 Dec 2018 03:33:29 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a1c:3581:: with SMTP id c123ls377685wma.9.gmail; Tue, 18 Dec 2018 03:33:29 -0800 (PST) X-Received: by 2002:a1c:2902:: with SMTP id p2mr2800123wmp.19.1545132809037; Tue, 18 Dec 2018 03:33:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545132809; cv=none; d=google.com; s=arc-20160816; b=ctTECa03DUWsaLOwd2lQTAE6WEUgEsFr0CeOCisPt+KoPDZ1D2v09KcIQPQo8PtGwB +dJaYyaRooYhOwGwmt1QZfKepkzx4RniPFmsO28cSJ0VF4N/6ljJHfAFvtyTP7EweRJz x1R/WqKOeAPyUHrg1bOF4Xm7Sz7a1Y8vcpehjUsegMya7wq+r6Jc1JjRu+ng3EwKAaPM c7AZ1hgDcbLsXNmThYpRj0X5gus36/I+sxOxmYCgNF0SowcIZVzT8jqsxB0tdAVnDOoW FU85KqnyQmJsF7GvEyTLmMmvm8xzIjx2W655h54xUxP65Rh5uVwcuZjz9qfkvDYkp0Nf jQrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=/ZX3Vb1QocJF5KFof1FWVSsQ8WcfFPPJfBBeloD+g+g=; b=V/6UtpdHO+t2CcpwwqHLGm71sOdxx1leJmLsm/KLUDMnZsc4l7W0c2yZ4n+cuYCpSz /ETesFEFGufmy1WDTugEAsuaKeOvO133KTGcyxwkEHxUc9BRy340T9HRH9kagWgipHNZ /ToDzF+w+icvfABmJLsL7D7VxpeltlicQoefnEcMMWQGKMXZGrlAx5DI1Vrv2M50GWpX bvkseSp+qvo64pFW6qZnGW6C8Np7Zp0GwmyT4WyIXbs1BvJHgNVHEGB3IFFkBRCXEaSV QBUjbQfDL3jh5/7wN1I99KDrNo18iwbvwr/G867jXXQ0OJZ/wlCmwnCzbPa67krauQaE /Hug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=KXuf4HSt; 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 f20sor1474602wml.10.2018.12.18.03.33.28 for (Google Transport Security); Tue, 18 Dec 2018 03:33:29 -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:6508:: with SMTP id z8mr2907356wmb.28.1545132808608; Tue, 18 Dec 2018 03:33:28 -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.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Dec 2018 03:33:27 -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 0/6] media/sun6i: Allwinner A64 CSI support Date: Tue, 18 Dec 2018 17:03:14 +0530 Message-Id: <20181218113320.4856-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 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=KXuf4HSt; 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: , This series support CSI on Allwinner A64. Tested 640x480, 320x240, 720p, 1080p resolutions UYVY8_2X8 format. Changes for v4: - update the compatible string order - add proper commit message - included BPI-M64 patch - skipped amarula-a64 patch Changes for v3: - update dt-bindings for A64 - set mod clock via csi driver - remove assign clocks from dtsi - remove i2c-gpio opendrian - fix avdd and dovdd supplies - remove vcc-csi pin group supply Note: This series created on top of H3 changes [1] [1] https://patchwork.kernel.org/cover/10705905/ Any inputs, Jagan. Jagan Teki (6): dt-bindings: media: sun6i: Add A64 CSI compatible media: sun6i: Add A64 compatible support media: sun6i: Update default CSI_SCLK for A64 arm64: dts: allwinner: a64: Add A64 CSI controller arm64: dts: allwinner: a64: Add pinmux setting for CSI MCLK on PE1 [DO NOT MERGE] arm64: dts: allwinner: bananapi-m64: Add HDF5640 camera module .../devicetree/bindings/media/sun6i-csi.txt | 1 + .../dts/allwinner/sun50i-a64-bananapi-m64.dts | 65 +++++++++++++++++++ arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 25 +++++++ .../platform/sunxi/sun6i-csi/sun6i_csi.c | 6 ++ 4 files changed, 97 insertions(+)