Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp615857yba; Thu, 18 Apr 2019 06:55:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqzgKwkHNT+zdtn7a8rXmOGOFA9JigARO/Z6e+mrQAHNWuKlJshSDTkaBLXpRKxRtkJOftPV X-Received: by 2002:a17:902:2a2b:: with SMTP id i40mr80014945plb.80.1555595701298; Thu, 18 Apr 2019 06:55:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555595701; cv=none; d=google.com; s=arc-20160816; b=Ao2G6xMiHsd2sqhSUZU6ccMGHc+epDcR2e3ax1JirxCmbtNqsIIncTt/yz54crRwy3 aEJKdkUwd/0HVEiXCHnrIHej6dRDfA8tNJkwX5gqIOkVQTapYneWtTRTd8HuTIZL1Vom 3nhkiwmteNA637AHvCAaUVtvxFmvLcIOy7yMNjrYXvbWpEYpGnKdhvyCURdGahGhvuqy U/adwKBOsU2c47890IQkbYObByJrM2zgK+9HT6xIdvE7vlT7RxTCAvOFAYeEmZ87mvLs AvtGQG6sjvQWMOclwDSNvYMQacZInyjViRadh4Q/FmiSeIzhVyRzOj2ndUC2pRV+W+XT f6bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=f6u0NsaHuXkBa0FvVxI82I2fZsIMvs/TpAdd6MlVacQ=; b=bXf4oLti88enZXbbFKHdgvSfCu6hh0+BmDzySQsw3ql15LttPKwkwzaJyailOl29Og HWavEem1blCCHFX8BoC9D8JiCb9Js8nUp88dxH5GWzPJAJVFRPNsJzZXTsEmKiihWflm mAWn1nmEZFQZ24dx37s8HYNH2DA6g8Lc831thPDIxrxjOOi1wTgRStW94c6e/KS6OCIK jNgn6E4hNVH1zTizFNoTDG3XppAKphQfF7qw+CsYr5mK4KUIAnumGjB4nEeI5zYGpqMH xchY1VKit374rMF92gMTr7VSl1Ud2yy6IIMVcENjT59Hj6v++Yj+K3z/8YMRYDHIdKry 2eBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=rTy9XcjP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u1si2106813pls.43.2019.04.18.06.54.46; Thu, 18 Apr 2019 06:55:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=rTy9XcjP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389215AbfDRNwo (ORCPT + 99 others); Thu, 18 Apr 2019 09:52:44 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:43811 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731317AbfDRNwo (ORCPT ); Thu, 18 Apr 2019 09:52:44 -0400 Received: by mail-pf1-f195.google.com with SMTP id c8so1143275pfd.10 for ; Thu, 18 Apr 2019 06:52:43 -0700 (PDT) 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; bh=f6u0NsaHuXkBa0FvVxI82I2fZsIMvs/TpAdd6MlVacQ=; b=rTy9XcjPrpwDwKG+V36EeMbFaV4xL3/EDThtXHBG7qfPOojsQBlpaYv1y68XelzPNg 9q5X9J5E+lp3SwcBpvGTfVxXjdYOMf8xbFwlaAL0U206m6UluHX28Ud7TbgqvjtwGmJI HPN8FbBotEVjzTk3fvef39qG2hKWCiz2+5cBw= 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; bh=f6u0NsaHuXkBa0FvVxI82I2fZsIMvs/TpAdd6MlVacQ=; b=J5jCohtPcS+Np0sEHjPVnpQltM38aI3aV7MqgHhi+tvjzA0fJB1pQOd7UE5Rj+ecAw X/CEHd7LB80qib8JrR1jS2ta0yj7xgN6cJFdLoMVD3XTV2q7hncR638TxT5ZJxp+JUbL rsY+PJawn/Fwmb5PnbE5WRhI6BsqFmke/XG4JrPEl3MXv0RFXrxzENeQhw08SfF1HpAR X62ctu7gZjOGg0mgoavozpAELV1W8MxPIkgZjPpyaZBNxF/AswPbIB+SpMZgtqsC8/fP HP6gzI7ReOMLLt89NK71JOuRjopVX7Ah8ejjkD4mHennU+6tKQTbH3cI4beLXDHtWlD+ YI+A== X-Gm-Message-State: APjAAAUJ9oANo30+ZHZKTdOZfggKG6jqEvjX6q8LqDpP8r/qyiGwH7Wu LKa3jr3U2vhn5R0LecFBuPM7xw== X-Received: by 2002:a65:410c:: with SMTP id w12mr3735801pgp.268.1555595563362; Thu, 18 Apr 2019 06:52:43 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id c5sm2357861pgh.5.2019.04.18.06.52.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Apr 2019 06:52:42 -0700 (PDT) From: Jagan Teki To: Maxime Ripard , Chen-Yu Tsai , Rob Herring , Mark Rutland Cc: Michael Trimarchi , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH v2 1/2] arm64: dts: allwinner: a64: Add pinmux setting for CSI MCLK on PE1 Date: Thu, 18 Apr 2019 19:22:31 +0530 Message-Id: <20190418135232.9368-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- Changes for v2: - add /omit-if-no-ref/ - add pin name as csi-mclk-pin instead of csi-mclk arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index 728f70018c51..8c5b521e6389 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -595,6 +595,12 @@ function = "csi"; }; + /omit-if-no-ref/ + csi_mclk_pin: csi-mclk-pin { + pins = "PE1"; + function = "csi"; + }; + i2c0_pins: i2c0-pins { pins = "PH0", "PH1"; function = "i2c0"; -- 2.18.0.321.gffc6fa0e3