From patchwork Fri Aug 21 07:10:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hoegeun Kwon X-Patchwork-Id: 11728291 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 DEEC0722 for ; Fri, 21 Aug 2020 07:13:45 +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 B71E62078D for ; Fri, 21 Aug 2020 07:13:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="krD70RQL"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="hCPfZoEF" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B71E62078D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=samsung.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:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To: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:List-Owner; bh=uB89Q70dJ+j2IdUTh2Kwm+R+vzGnaiTFheWNTZ2eJhY=; b=krD70RQLIUpP0tR8QRRilPTWC/ FiuvA0sa8kf4bfCY4fKW9t1RDFMzwwcnP+o/486eSYwLM2ePvb7919Va8oqQmoif7Lko4oj5sqyo1 lKC7YQ3IB05N4OEfNYhke/Gri0Q+cdSJM9xMl3mY7aXeJwTaqLmuzTrLh5JjkU6hVjjNRffMn1RD0 BsRQG//HgSf8W9+9S2C8ERuEQWLyP5oSOnPDom4kepW2VonHVVdnJfMGBhLm8l7hAWCMpdtgUFFWj xstBLxLGP2MNph4cSQsjH2pc9jGpgcdIQcApPiQkxFtKbmmCROpcuPalj/jXnYhBeg+VnymJC7SzI /6DyacWw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k91DY-0004Pg-25; Fri, 21 Aug 2020 07:12:04 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k91D1-00046O-Mo for linux-arm-kernel@lists.infradead.org; Fri, 21 Aug 2020 07:11:33 +0000 Received: from epcas1p4.samsung.com (unknown [182.195.41.48]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20200821071129epoutp028e93e5c55a7bf284379cf7033b32f9f6~tNvnP1A7w0820408204epoutp02N for ; Fri, 21 Aug 2020 07:11:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20200821071129epoutp028e93e5c55a7bf284379cf7033b32f9f6~tNvnP1A7w0820408204epoutp02N DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1597993889; bh=4HNiRPvHIxvIrfu+Vr7XKCEWbAFVY5lm4GOrgQszxFY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hCPfZoEFRz8uShSvZXy2Qz5F7cmD5Az4R89yN6Hv+bwxjblLbqS/8nMYDDMUZMD3s i89WfT9aUIPzHelDyU3iYKF21Wa7/7zXj+Pj+05gLF38jC272QInAefus/7LT3unqQ PkXQyTibXIv2D1RzmarqJ6QAaYH9VUjlUT+E10Ow= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20200821071128epcas1p11cbbdbdf37b64cc859f26b907fd48962~tNvmtPc081679816798epcas1p1A; Fri, 21 Aug 2020 07:11:28 +0000 (GMT) Received: from epsmges1p2.samsung.com (unknown [182.195.40.158]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4BXt3f1y4ZzMqYkt; Fri, 21 Aug 2020 07:11:26 +0000 (GMT) Received: from epcas1p4.samsung.com ( [182.195.41.48]) by epsmges1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 51.CB.19033.A937F3F5; Fri, 21 Aug 2020 16:11:22 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas1p2.samsung.com (KnoxPortal) with ESMTPA id 20200821071121epcas1p20c13a4116d56072293b1d81d8e253218~tNvgYHSLB1822418224epcas1p2v; Fri, 21 Aug 2020 07:11:21 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20200821071121epsmtrp21c8c40df7e678bc311786ad2fd7180df~tNvgXEHQr2521125211epsmtrp24; Fri, 21 Aug 2020 07:11:21 +0000 (GMT) X-AuditID: b6c32a36-159ff70000004a59-db-5f3f739aa989 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 5B.C1.08382.9937F3F5; Fri, 21 Aug 2020 16:11:21 +0900 (KST) Received: from localhost.localdomain (unknown [10.113.111.64]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20200821071121epsmtip25c56b59247250af5db5f4641cfcf7b17~tNvgABazm2482124821epsmtip2S; Fri, 21 Aug 2020 07:11:21 +0000 (GMT) From: Hoegeun Kwon To: nsaenzjulienne@suse.de, eric@anholt.net, maxime@cerno.tech Subject: [PATCH 1/3] clk: bcm: rpi: Add register to control pixel bvb clk Date: Fri, 21 Aug 2020 16:10:43 +0900 Message-Id: <20200821071045.24501-2-hoegeun.kwon@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200821071045.24501-1-hoegeun.kwon@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrCJsWRmVeSWpSXmKPExsWy7bCmge6sYvt4g8bTvBZre4+yWLydu5jF Yv6Rc6wWV76+Z7M40HiZ0eL98i42i51X1rJYbHp8jdXiY889VovLu+awWUy8vYHdYsaPf4wW F0+5WmybtZzNYt2t12wWrXuPsFv8u7aRxeLR1PuMDkIeTe+PsXm8v9HK7jHr/lk2jzvnzrN5 7Jx1l91j06pONo/73ceZPDYvqfdoPfqLxaNvyypGj82nqz0+b5IL4InKtslITUxJLVJIzUvO T8nMS7dV8g6Od443NTMw1DW0tDBXUshLzE21VXLxCdB1y8wB+k5JoSwxpxQoFJBYXKykb2dT lF9akqqQkV9cYquUWpCSU2BZoFecmFtcmpeul5yfa2VoYGBkClSYkJ3x9k4HW8FCtoqly14y NTDOY+1i5OSQEDCRONE2E8jm4hAS2MEo8W/xdiYI5xOjxIm9y9kgnG+MEuuvbGPsYuSAaPlS DRHfyyjx4/YFZgjnM6PEjSlzWUDmsgnoSnztuc4EYosI2Em09RxkBCliFtjOLHG9vZsdZJKw gKfE8S1WIDUsAqoSX3v3soPYvAK2Em/f7GSBuE9eYvWGA8wgNifQnMV3lrKAzJEQOMMhsWzH JiaIIheJLzsOQz0kLPHq+BZ2CFtK4vO7vWwQdrHElZmvoJobGCX6J86GKjKW2L90MhPIQcwC mhLrd+lDhBUldv6eywhiMwvwSbz72sMK8T2vREebEESJmsSzhgNQa2UkTvUuhzrHQ+LWslZo yE1klHi84jXzBEa5WQgbFjAyrmIUSy0ozk1PLTYsMEKOsk2M4OSrZbaDcdLbD3qHGJk4GA8x SnAwK4nw9u61jhfiTUmsrEotyo8vKs1JLT7EaAoMvYnMUqLJ+cD0n1cSb2hqZGxsbGFiaGZq aKgkzvvwlkK8kEB6YklqdmpqQWoRTB8TB6dU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7j6ByNb48wsuiJ1U2Nb2a8qGK+r617S/7/6r9NS1K2OdvUPKNIMWXY4j z7T2LN7p+vec2eKEgItK520r7i/0bGJed7Zvm1GM7KywQ/ZZSRVdlTlzbqY3x7WUr/jz8fim oGeHT4r6fDDyXpN9T2rDLUOF2JPFLNl5RRGFc6dXfhP5/fNY8iz1mTutxc5Pzd81u/UXk+yy M29XrfW3Fktm2370htiOuVtPZ2+Zu9x6AcOxSr6XVRf9X+2arLNqC+/X7N+Ldryc/376Wp3j p5kn6Ou0+yTW+fBMtzhj9W9j+/pPTzax/NxZk+QdM2vXlI9nRfouL/7Icbp13ufXv/kXZh5p UGIpzkg01GIuKk4EAApp4Qr9AgAA X-CMS-MailID: 20200821071121epcas1p20c13a4116d56072293b1d81d8e253218 X-Msg-Generator: CA X-Sendblock-Type: SVC_REQ_APPROVE CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20200821071121epcas1p20c13a4116d56072293b1d81d8e253218 References: <20200821071045.24501-1-hoegeun.kwon@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200821_031132_123849_B5153B75 X-CRM114-Status: GOOD ( 16.69 ) X-Spam-Score: -5.2 (-----) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-5.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [203.254.224.25 listed in wl.mailspike.net] -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at https://www.dnswl.org/, high trust [203.254.224.25 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -0.0 DKIMWL_WL_HIGH DKIMwl.org - Whitelisted High sender 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: devicetree@vger.kernel.org, tim.gover@raspberrypi.com, kdasu.kdev@gmail.com, sboyd@kernel.org, mturquette@baylibre.com, dave.stevenson@raspberrypi.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, phil@raspberrypi.com, robh+dt@kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, hoegeun.kwon@samsung.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org To use QHD or higher, we need to modify the pixel_bvb_clk value. So add register to control this clock. Signed-off-by: Hoegeun Kwon --- drivers/clk/bcm/clk-raspberrypi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/bcm/clk-raspberrypi.c b/drivers/clk/bcm/clk-raspberrypi.c index 5cc82954e1ce..f89b9cfc4309 100644 --- a/drivers/clk/bcm/clk-raspberrypi.c +++ b/drivers/clk/bcm/clk-raspberrypi.c @@ -271,6 +271,7 @@ static int raspberrypi_discover_clocks(struct raspberrypi_clk *rpi, case RPI_FIRMWARE_CORE_CLK_ID: case RPI_FIRMWARE_M2MC_CLK_ID: case RPI_FIRMWARE_V3D_CLK_ID: + case RPI_FIRMWARE_PIXEL_BVB_CLK_ID: hw = raspberrypi_clk_register(rpi, clks->parent, clks->id); if (IS_ERR(hw))