From patchwork Tue Sep 15 12:45:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 11776433 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E7566159A for ; Tue, 15 Sep 2020 12:46:23 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 918BB20B1F for ; Tue, 15 Sep 2020 12:46:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Gu+2XsBD"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="vnq12OZ8" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 918BB20B1F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=Q4zna41zJkCrVNQV2V0dKhnWs9Ll2kU4xcljp9T785k=; b=Gu+2XsBDBAxCamWOWihedBTW7e qLy66z19o4n0RwWAXj33z3dbH9dxTqsOcC48xTL+/z1Uv1ekRTOuysdH61WC3NPYaDQm5/8E+kVmn CMx+Ck0opb4OT4N0DQl5nJa2/ldyU+cQKi7RQQXP264WO1WFulbkbV0ri0OyXTzN+lDGJ6nmW7PiP rHhvdMxbaiZTcCzxp4miNifB2hwEBjJzDNfaktneQ0f1PY8LniscnVCBpRHMe5MdICjPWYfXwg1Hs SYWj0Q54p7jJDUoQhwP0b3fLXwZRscmMeKxJMg3x5I2TDTWYI/1eAbfABompY/+P4JAjMHsxRTCAq ZE9ippXw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIALV-0002uG-On; Tue, 15 Sep 2020 12:46:07 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIALN-0002qB-QV for linux-arm-kernel@lists.infradead.org; Tue, 15 Sep 2020 12:45:58 +0000 Received: by mail-wr1-x444.google.com with SMTP id e16so3203523wrm.2 for ; Tue, 15 Sep 2020 05:45:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=PUcUK8YA7xOYjNtjzxXPOPtmn9lpMNim28eyU9a7Hf4=; b=vnq12OZ8h+snAbmU97iIZz1Xs6BZApGeIO+pwz8ITYX8upAHSJfhj4ZI+YsVyDfd3t 78y7H0Qi1P0lHHPn/CMTUbHSCT1uascuXBTiCv+E1xPSeRrOLgGltLj1G9V2aCXe8soZ /rNy2cpnLf6NjM5HZfoEp54Ra+pSLk/xaQvI6aGFFTpiwoBX3WiFVcw7b/AAwE78Xsjh JseJEkm65hME+gZKqdhLAeKhGN8A+PinC+RGE6WtYds9wZvUIt8Z9LHJf5VBdPGC6Wrm hxRF54lld9/K/YjwTC6ECTGJvis46Zk8sfS9pyyTNUJPFZFwIrgex+ljhrkhshLnEjKB 6OuQ== 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=PUcUK8YA7xOYjNtjzxXPOPtmn9lpMNim28eyU9a7Hf4=; b=oLy04oGgHKgE4B6R0orNOZgRo5A+nApxAS8/qSdUz+W2UEU6Gp2v5fO7ivrhBOr2Lo 3UQNWgal8E89TPoL9CWmzd5omHzVZNV4PQpAvBiFOrbo+PXNzvey3tFfddJMyVUe9Occ iTbAomQaIhjZWnCuEVPwQuSY4I0Yvry84E80PxYF5q1/Ra7AFrdaRV7oTAARlOGzd61H QznInSpuAj2wxX31J8VQCxJRWlBRF26ApHic5C8FSQa9Q/sdTggQl1j1yMm4BYLmWS9P rgx5ZaKwevDK5H3g+o5CWCbLbfNDOHXpdHBJNFbXV3xtmrU6IaWqGBNzQHgiysAGhOWr 0ZGw== X-Gm-Message-State: AOAM530jSmPMieVrKiOQ2qjzUEDQzsm+1MsE4UxQH5wt+DENasqdxyGB 489hVW7Aja59WZywcFA/POROCQ== X-Google-Smtp-Source: ABdhPJxwMlDEHZh9fctKaT98W85S9FRLO1xXWLr+E4hFyfBsptLyDwy8SoxnjHKzdeZGkqN83g5/CA== X-Received: by 2002:a5d:40c7:: with SMTP id b7mr21519638wrq.300.1600173956444; Tue, 15 Sep 2020 05:45:56 -0700 (PDT) Received: from bender.baylibre.local (home.beaume.starnux.net. [82.236.8.43]) by smtp.gmail.com with ESMTPSA id q8sm26548589wrx.79.2020.09.15.05.45.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Sep 2020 05:45:55 -0700 (PDT) From: Neil Armstrong To: jbrunet@baylibre.com Subject: [PATCH v2 0/4] clk: meson: axg: add clocks for MIPI-DSI support Date: Tue, 15 Sep 2020 14:45:49 +0200 Message-Id: <20200915124553.8056-1-narmstrong@baylibre.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200915_084557_888399_1D068544 X-CRM114-Status: GOOD ( 12.04 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:444 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amlogic@lists.infradead.org, Neil Armstrong , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This adds the VPU & VAPB clocks along the MIPI DSI Host clock. The clock scheme is based on the GXBB & G12A VPU clocks, with a different CTS clock output used for MIPI-DSI. Changes since v1 at [1]: - update patch 3 commit message to reflect drm driver state - added comments in patch 3 for clock specificities - removed useless parents comments in patch 2 - fixed bad flags in patch 4 - removed holes in axg_vdin_meas_parent_data in patch 4 [1] https://lkml.kernel.org/r/20200907093810.6585-1-narmstrong@baylibre.com Neil Armstrong (4): dt-bindings: clk: axg-clkc: add Video Clocks dt-bindings: clk: axg-clkc: add MIPI DSI Host clock binding clk: meson: axg: add Video Clocks clk: meson: axg: add MIPI DSI Host clock drivers/clk/meson/axg.c | 819 +++++++++++++++++++++++++++ drivers/clk/meson/axg.h | 23 +- include/dt-bindings/clock/axg-clkc.h | 25 + 3 files changed, 866 insertions(+), 1 deletion(-)