From patchwork Thu Jan 24 18:07:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10779823 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 29A4213BF for ; Thu, 24 Jan 2019 18:08:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 19B56325C3 for ; Thu, 24 Jan 2019 18:08:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0D3EC32629; Thu, 24 Jan 2019 18:08:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B5AB5325C3 for ; Thu, 24 Jan 2019 18:08:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729446AbfAXSIk (ORCPT ); Thu, 24 Jan 2019 13:08:40 -0500 Received: from mail-pg1-f193.google.com ([209.85.215.193]:36609 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729421AbfAXSIj (ORCPT ); Thu, 24 Jan 2019 13:08:39 -0500 Received: by mail-pg1-f193.google.com with SMTP id n2so3002295pgm.3 for ; Thu, 24 Jan 2019 10:08:39 -0800 (PST) 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; bh=OOQ/q0ycl2Vhbvj/n8EVpYC4IVJK5DjscGBSfNzrl+U=; b=MBuene0c4uUHb8+Bp3wEZ/+UgAl0anWc87gdaXyJdhvM4FS9sjReofRVil356wMbpl FGat6d4s59SnIDRICsqYL5q5vXvAAbftKuj0X3zBOyfzBwcwp0KQonwmKcR5o+EaF8p4 dpv1LmS3LhFOt+SkdBFRY56ng6FSAQLripWP0= 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; bh=OOQ/q0ycl2Vhbvj/n8EVpYC4IVJK5DjscGBSfNzrl+U=; b=Dve2kP0TEYSj/h6enh/VdQ2kOuceUotLU6mxfL0Ndl3rHJ/M7Rvxv26JewgVaZYd9P Aweoe7xoTjwjTRggivfph5LRci9TDPFvpZNfPopMSgMVsAY0JjoGYCs6KRuMorMhezA6 ubjhOekVTQce8M/BcT8ztf3/PRjDsv/JOFT7n6T/Gd0rrYit5cSGE2KOHTVtoww0CBB7 U2Rn6N0Uc2X/1AcpVB2twatQzRXaQER8LgEbDMVJXVXdA5TXtzbvi8c0VjBUf4XtV8rQ ttxg4+2f8jIR5mPDhNRt5cwTBnPtbfaHRuEyWQm8sEr9/eT0410S8iCw7RWijAxbP0+W 5rzw== X-Gm-Message-State: AJcUukeMjd8pP881aCD77yyiaNlQiBRMpgZPpyWqp2xgojEz04ne9d8x H+mhg3T8vCUnT0XfHBLLnKibfg== X-Google-Smtp-Source: ALg8bN7CyOInddhg3QutLK5b0/l+R6UdRyH0k8FBbS2b83cE70Ch/dT/6+aBiIyPOJ3ccOjd2f/MqA== X-Received: by 2002:a62:32c4:: with SMTP id y187mr7758031pfy.195.1548353319192; Thu, 24 Jan 2019 10:08:39 -0800 (PST) Received: from localhost.localdomain ([115.97.179.75]) by smtp.gmail.com with ESMTPSA id k15sm36141551pfb.147.2019.01.24.10.08.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Jan 2019 10:08:38 -0800 (PST) From: Jagan Teki To: Yong Deng , Mauro Carvalho Chehab , Maxime Ripard , Chen-Yu Tsai , Rob Herring , Mark Rutland Cc: linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Michael Trimarchi , linux-amarula@amarulasolutions.com, devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, Jagan Teki Subject: [PATCH v7 4/5] arm64: dts: allwinner: a64: Add pinmux setting for CSI MCLK on PE1 Date: Thu, 24 Jan 2019 23:37:35 +0530 Message-Id: <20190124180736.28408-5-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190124180736.28408-1-jagan@amarulasolutions.com> References: <20190124180736.28408-1-jagan@amarulasolutions.com> MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Some camera modules have the SoC feeding a master clock to the sensor instead of having a standalone crystal. This clock signal is generated from the clock control unit and output from the CSI MCLK function of pin PE1. Add a pinmux setting for it for camera sensors to reference. Signed-off-by: Jagan Teki --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index 62fdf850e9e5..6e5a608f56f2 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -564,6 +564,11 @@ function = "csi"; }; + csi_mclk_pin: csi-mclk { + pins = "PE1"; + function = "csi"; + }; + i2c0_pins: i2c0_pins { pins = "PH0", "PH1"; function = "i2c0";