From patchwork Thu Apr 18 08:38:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 228 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id EB88240B04 for ; Thu, 18 Apr 2019 10:38:23 +0200 (CEST) Received: by mail-pl1-f197.google.com with SMTP id cs14sf1099157plb.5 for ; Thu, 18 Apr 2019 01:38:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1555576702; cv=pass; d=google.com; s=arc-20160816; b=Vqd5vBRaLxu5SVO/wRLoyHMWE3K4eYDIU5IFRa/c+x2+qPdbTrZFCE8Y75PEzB0vMn P1ADzqBDvXDl0QGn9+XQav1knOdK9rFxddnd7BZhpXAtWnpkMrDW3WmhLY/hTin5OnQP WFl3G5/tBQ3jXNFobwJoqygrdZx64RBCCkFaN5ALRdVwwOndh6aHsv+Pm+nlJcHzQTqG 8mYkCOvYuppb93SYcWbe5kfzuR8zjdTk3i7qutFF3RVikTxBUPtYXPtot5DhHB8TPlh2 PIj3zCupeeaDkTkuhPk4aPs0U6zrchqDdRngNIRVuttfr/i6+OQYzahZMhLl4F0HuRiD SVVA== 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:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=pI1zse7IweWcUVoqhc4PRV+Jfs157xiQmznL5jgVgoU=; b=T7n8SdwMbpdXa0IoJB3ruHqCWHSin+UmRlHns7VAtjnNkEDitxyXgMC1DohJ8Z7Vvl WKKbN7HgWfUvqKInAHuB3G+X3DPIkioQDpbDWx3WyzvQEs3ptKbTSVW8cGv7nGJZ0MeV fJE464RfFWWh8q9qAirTLh1j2LWXFSCQSB1jsPhf7Gs1n79w8u4alkj9WLlFDRX56BbB D7uirecOPpTb9lCMmo7UbRv0//h8Ud9FIMJjEgTEOyWJHqaZLkSUUrRH0Go0bmk0vGmp fIwsSoyR/i3gWU1O/Ex+0/DuibnNLKdW9gNobRNd27aXVmo9MItzQVH46DU9pOjI/Bqd aVLw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=d+kP4iGn; 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=pI1zse7IweWcUVoqhc4PRV+Jfs157xiQmznL5jgVgoU=; b=k5N4mtD1c8WvrXwHWIGhML5bVk0A4i5Rxn33E4hUmTb73AbRXJOfnbmAHmbGAUfePv 11aA3DYfcFWRKgbbiWRObBYlUZTX7VMKBL2bpML2ZKEyE+xFlLjldvp/NTcsPRHjSjPn mgz+gMlZuNIskgELFfHTJSv1pugnuDeSIZsiQ= 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 :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=pI1zse7IweWcUVoqhc4PRV+Jfs157xiQmznL5jgVgoU=; b=VySA5bDaPKW4y7nPNm/Zwd7VyAhszttbK/MbQ/cApxVAjBwCJWqnRm/6vQSHdxhxq3 SUmJzo6bUmqQPgyCVaWicia0Vp+Z5z3QXBqASA6W6VAFK5Gmo3iZdT7iCgWdtvBG2gKv xR86shAUbKFQJM787jr7scmSO5bbMkK7ccQQCCjPKcxN5XzL5L6hJS4ehzqpUzzuusc4 vnrkW5TOK+0tcwGTOBGQo0QOrcIA7wfQApxZ2HEe4g1cskJRvXXY/H5pR9NzKRUOGywu q2AI02CallG9PKi0+2dpnD3VRbASnT6GlcqaXJBAuOrOxn4zryNGDVrNhxnUzDyZY4Y1 j//A== X-Gm-Message-State: APjAAAUwVpZ82Gvd5N1a4K4sm+uQpFEE5m5BOo9Te+RfU0qjdIBwmI8E JnGZKdHb7xB8h6Z3o5X9X6pk0LFZ X-Google-Smtp-Source: APXvYqwquAgQkZvXo7csp5McIU8HeeB+LpjMoq8nETAmNu688/gUTgZNcsNbhP6YqgQZVjA8JoeQ3w== X-Received: by 2002:a63:cc0a:: with SMTP id x10mr84727092pgf.179.1555576702730; Thu, 18 Apr 2019 01:38:22 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:6886:: with SMTP id d128ls442234pgc.4.gmail; Thu, 18 Apr 2019 01:38:22 -0700 (PDT) X-Received: by 2002:a63:330e:: with SMTP id z14mr85493593pgz.4.1555576702413; Thu, 18 Apr 2019 01:38:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555576702; cv=none; d=google.com; s=arc-20160816; b=cuNR/Thfnlda6eneY+nLwnu/UqXGmIMZHiDcPpCWzOs7uv+uzj0nzyF2kUasfJm0Fi BhUrGxGc0n2T2kTRezXFvfEI24hLKAWDx2itCaWYnnqF3FWQF7adJUxDJMk2jnCjZS1b qkx4YzxFRLP9HJ0Lqzr18nknV7WPaqIxElugdhwHn+7riJScSmCkhdf8jOSm5kJwJGFu +4hvtIDbW1ningEUpnHANe+nI1zgHBcmTWD+pS7w9kGSpaNTJsLLmn3PLGgvxpgHHs7L un8UpW0eEUtGabgutuX+Y1I1yYK0N2M00QWny19LOvGF2WsX+UaJNAJoducU1uHaxMk/ 99gA== 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=bVH6oZEWqWRwSE0/zky4AIHwuUMb+EYBfI1m7D47hvA=; b=jwqOi5sCq+U9ni3uKzS2S3xTndTIVrXQ6SwpM0ljLe1XcZvN9brfJLgb4EF33e8dpc ZiCKaghpiDw0tk5qLxmTMWAWKQvsKSYuSGWMTls5Rd3Dnd7AGXlxQ8k55QQKZMQwTQGW BpQ/N3+R6lvtH08oNCxA9sokSw7B9kIoLH+oRys59rlvQC9WCeueqODfWZxdbU2BdqAX xMPiiv+LmhOlxbUxNJte6FK3XpoE/pqmzinCuaDCfcwPwRtgmnHKdePSdVhT665a9zjL xjJaRwVCmpUhKkaAAtvY61hbpZ0mh5mMLyJljQyQ9TxoSmsGf5nNQgI2C0oNVz1eyZzW aPeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=d+kP4iGn; 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 e93sor1435582plk.9.2019.04.18.01.38.22 for (Google Transport Security); Thu, 18 Apr 2019 01:38:22 -0700 (PDT) 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:a17:902:b58e:: with SMTP id a14mr64799527pls.44.1555576702113; Thu, 18 Apr 2019 01:38:22 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id o81sm2075917pfa.156.2019.04.18.01.38.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Apr 2019 01:38:21 -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 1/2] arm64: dts: allwinner: a64: Add pinmux setting for CSI MCLK on PE1 Date: Thu, 18 Apr 2019 14:08:12 +0530 Message-Id: <20190418083813.11776-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=d+kP4iGn; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" 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: , 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 6f27eb082429..6f4e00ec9c68 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -597,6 +597,11 @@ function = "csi"; }; + csi_mclk_pin: csi-mclk { + pins = "PE1"; + function = "csi"; + }; + i2c0_pins: i2c0-pins { pins = "PH0", "PH1"; function = "i2c0";