From patchwork Thu Apr 18 13:52:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 232 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f198.google.com (mail-pg1-f198.google.com [209.85.215.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 66FC140B04 for ; Thu, 18 Apr 2019 15:52:45 +0200 (CEST) Received: by mail-pg1-f198.google.com with SMTP id 132sf1380319pgc.18 for ; Thu, 18 Apr 2019 06:52:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1555595564; cv=pass; d=google.com; s=arc-20160816; b=xwIxUTZzPSr+jGOx8cSfl1bIPAMKq0FyAwd0YDh0a6OvIKKB3/lcLcgol6qqlG9kIw vjKTFqWaCJmWCLJWcZIkg6kz6zdVjrit2uoJCXP6o3zxiKnungFbFv8gg343/xfS/W3/ UyALnevAw+QTHp1vutDckYPcuZcGftyDq6oNBfRyWhE67aWRj9mosS8/Kflf9934XnSD JJNSEL+I4mRAtITLaxpx7CSK9M4UDO41jRmm6JZuYvABkWVlZtDuFHYduhcBgPqa8oM0 F7qE3lRqTU/7wASviMJ9ia+KjWNGz6RzSdYIe8f1UN/9xk3cnMbWLz2iNqxGmmmqcbxN dhgg== 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=vy/5ezYlCT+f8Q6GNfBj67HZsqKRqgwRSNXDe0Z4Z3E=; b=rJPI/uoGTogRB+IHm7fRzC/YQYd/7jV8s6xWVIBY0HqZzX4mPe7uWtoSTFE2jVdaux f8uDi4aXc9VZbfPtilxsKIzTaiw7/7T6fegACMabCicML+KKv51sXN/jKw6lzOlR39F2 OeDE74zUSzrlhcjZW1DRcGvT/Ke/RIWr2yJQPc12OjiO+T2XADRLgT3AroBj37/Rukqm 5SOufhffbSRlTkFBlbKlWeaYnGgm2eUwoBXKXOT8WDH+KLpQHri9k+kg7+zqb3WlQo/+ hkBcSNBDDnfQyBQ8T1LQQ10yTUiPcudXE0MG+paIMcz6QXWYxC44i8TPCzrLM7KAvR4Q sT1A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=rTy9XcjP; 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=vy/5ezYlCT+f8Q6GNfBj67HZsqKRqgwRSNXDe0Z4Z3E=; b=leHVB2J0zHOUvX40ZgWEbqnQOA1sseD26QnK5bNnOv8M1Bzn9AAu0EHMefQrKrwRRf sw/drJuKnXdFFM3wxyRV8T2hGrSaT9lJXjib84cBMg5iF4iQslbcIKwowseMMWTb0MxO YbLNSoCUHrI77DTdLr86scvQZJ/jjR2PTAN2Q= 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=vy/5ezYlCT+f8Q6GNfBj67HZsqKRqgwRSNXDe0Z4Z3E=; b=cRyvFv1+GQvhoBxccY2Eiric4IQhuMXTK+V0M45k5RfmMwWlKMf+A0jlNnH6AUXew+ x9PmkFBz0JooW/SXzo3uo5elwdP901J9DSBHm5rF6wSvNtmXCJlLATZtI2JfsEfxD8AK PZeZie/qJcGpBmvnLo/lrLsOgRruchroZj4iyFiAjqrneBOyUAcYcM/PfTf4tPe8dZmp aAT2GifPBQNX8MSzIGJn/GSy5vlFcv6QwCXM6EcBWKVWkmzn7DCYpr4z3O084jn61i0M r72xGSRwIW8seLDoiDNHYoBLIsW0gh4QnCDenTj48lvs+auPKonoA2GmVgku+b/066tu HOTQ== X-Gm-Message-State: APjAAAWJJ4G5JXlmL1dteNVdfwKTUKIo/g5NHuZCo8p4uBK/LUD0hfMw qMOb4lpW6jXs4/OYEGOfekIptNh+ X-Google-Smtp-Source: APXvYqzhjEWpG560H8kF+rlnfLVF8+ROVIL7E2xJruTcWXpTlzp1be5EawhFVkiuDGtE7c3Uu1YhHQ== X-Received: by 2002:a17:902:a98b:: with SMTP id bh11mr96470112plb.63.1555595564040; Thu, 18 Apr 2019 06:52:44 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:4186:: with SMTP id g6ls714305pfd.10.gmail; Thu, 18 Apr 2019 06:52:43 -0700 (PDT) X-Received: by 2002:a62:b602:: with SMTP id j2mr97210394pff.68.1555595563661; Thu, 18 Apr 2019 06:52:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555595563; cv=none; d=google.com; s=arc-20160816; b=Ovy7XhqgV+Pbr9IeaIcKEF5guH6nZuthWqmGeGibYl8RQxAUNvFs9hp2jWTLN0k9/d jH48lWYc9M4IjtIbnXMKSU/qbuQxiZxzcvMyAlvw+yvfnvSmks5Z+3FVQk9Ith2YHVny nzWg2Z6nobN8E/VCysBjpNbKJxYeL5mLyCE4MNbdduH2KBZmKyzn5IxHV2br6pb3hKCk 0HoNcsNZdXaxYS//nlnUHKvUc+ptLhqdd4Iwvr1OVLo2NWVsQXSYEIB9wZAMR1F84tsn wtuUmEtbkzkSgStgWtUyMZ+jmXxnwrvS62+sl3iJQHBmjyCu0QVdm6kDfPF7ISQM4U3M T7dA== 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=f6u0NsaHuXkBa0FvVxI82I2fZsIMvs/TpAdd6MlVacQ=; b=QiwVLQraQXkwP9FU+RLonNy3h6gbpbAAryL2WTOpKbeRzJuCt3RF71Rz9L1yHTKe8t 9GdcFnUu3h/YPIMkXWQ4kUuyCliJGLzkjkE3A5RAqkGX5MSia1xdFlxf2prXc6oMTivt kQk80r0UQJZw1iPdslUKFPMUlEcglTA/6dR6T7gfWFRexYb5CO+rPgUQCZbtiTfSCNd8 dZWj1t9QNoazi76xHG9s0rtSa/0vQg09VLxGhTS+5Ri2RQJrEl1h2yhy/bOf5wUv8P08 nOxF2ytTG0pLfwtpoMzo1j4l4pH7A9QRqgQtG9JkbDUIu6h3GCRIPF5yMRZIL6gp9TZO KZ8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=rTy9XcjP; 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 23sor2087741pgm.31.2019.04.18.06.52.43 for (Google Transport Security); Thu, 18 Apr 2019 06:52:43 -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: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 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=rTy9XcjP; 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 --- 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";