From patchwork Tue Mar 19 10:11:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Jourdan X-Patchwork-Id: 10859263 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id AF814139A for ; Tue, 19 Mar 2019 10:12:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 88C8A29600 for ; Tue, 19 Mar 2019 10:12:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 776CE295FA; Tue, 19 Mar 2019 10:12:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0DB0A295FA for ; Tue, 19 Mar 2019 10:12:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.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=nQlk4UHtnKshYEHfo3Skq2l5vVyDIzDA7SNXSzyHXXs=; b=qOm4SLQAJjS3qg NGB35fPu2hX4jNzoMAHOXTSamLp6wTQgSNR0GNJm3Qy7cHx3FsUbNwpKzDSrA9hCg7pzra/BCM23i 2BZB7B+Td205tQ2BLjIAZHr88SnZr+SPrFgYem+kQncband0y88A4B16hL/+ZIsH1v7MGOOJ1BvVY LMgsOzJjtesLvNGU8LNQv7jk88a2cE435NaiaECV+nxoRvD0tlstux8+MmYZcAfTVscf8T7KDBL+m hGSQeTVCI2gdrt+hUZy7V+FwFfgFDBeuY2fL1k77Z1COpHAUssvlupBWK/1Ca2wHbf54NfWuy4Yju tMFSIhDCj/3wki2/9xlQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h6Biw-0007xh-Rc; Tue, 19 Mar 2019 10:11:58 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h6Bio-0007v9-N4 for linux-arm-kernel@lists.infradead.org; Tue, 19 Mar 2019 10:11:56 +0000 Received: by mail-wr1-x442.google.com with SMTP id w1so14395296wrp.2 for ; Tue, 19 Mar 2019 03:11:50 -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=g9yVsy2U2fQ4Cv8Ug3KJAXrZHWOeSYhR24THaUMb+SU=; b=f4W+7bdIgNoZq0rZHqyA/sC5BffDx76TnmSUfoDj7qkRuRN0K7RqRUaCWvCQNtBZ9y zx3LIprSg46eGLEdOcz1DvCoRPpoQtbB21YeAUBo8EugzK3ZNDcgiFGEBXbSPV1VJ/yx Xs8pSxV17+j8qCLuUuma2ytDBPxdpPEf7vuRZm2vCQVBQhvyIgw3qToihZDzMehgxaPo BX1JKcpJJDemAsqhBrwYvtrDh+uNUYYJvSV/Yb+mO/doinahf/dBPp7EZv69vcd24ZbP Oe43s63SbpWrB6kGpYdVqX6TAGFcNQQc9YogSb82RX+/MPE0kw3LSkCGG5RZwI76r9hn hkWw== 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=g9yVsy2U2fQ4Cv8Ug3KJAXrZHWOeSYhR24THaUMb+SU=; b=jSnoFhaljw04nOx8nf0MFMs9t14qgGNY5YYVb4pmw18IO7ahqYNfx6vtWgITtDoq10 AgrNCvDUCDndIKx+dCH10j30/bc3LXZt60e5rNr9/dDY7GPwk23ep38RhrSTHCp0SfW4 Mr9IOs+jxeOo87Yr2UpUk82kLuHF5haoCttJfCS/b7BYzWVWqfi3300oxo3VE9s/zxJw +7Be8atmmzCDPe6mAX17SDB9tYKrT4cMC/3iDf90GUJpd/c5ea3vp4G5c5aSBJqCUgao omQtqX6pMTMm7Gl9ckKMjENRRGFcrqaCs2WRaoqD8dKOFjjyDInRKzoT5Zn25YxmSoXw 4QyQ== X-Gm-Message-State: APjAAAVLguWS5z06XB8ozcOcuJuxdlDAkkgPRdlgg8fiNjMAoguls5jT FggXpinHgAXPp0nzieCrtrdhQw== X-Google-Smtp-Source: APXvYqwUo0KR5WJ6K06wtK6h6lPQCRijNUkBdsnpPrGkb3yrcmLzg9qRjTKRdOGOzouxoqyfqL3hjA== X-Received: by 2002:a5d:428c:: with SMTP id k12mr7833647wrq.279.1552990309225; Tue, 19 Mar 2019 03:11:49 -0700 (PDT) Received: from mjourdan-pc.numericable.fr (abo-99-183-68.mtp.modulonet.fr. [85.68.183.99]) by smtp.gmail.com with ESMTPSA id h10sm3911245wmf.2.2019.03.19.03.11.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Mar 2019 03:11:48 -0700 (PDT) From: Maxime Jourdan To: Neil Armstrong , Jerome Brunet Subject: [PATCH v2 0/2] clk: meson: add video decoder clocks for G12A Date: Tue, 19 Mar 2019 11:11:36 +0100 Message-Id: <20190319101138.27520-1-mjourdan@baylibre.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190319_031154_556766_DAAD3477 X-CRM114-Status: GOOD ( 10.91 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxime Jourdan , linux-amlogic@lists.infradead.org, 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 X-Virus-Scanned: ClamAV using ClamSMTP This patch series adds the clocks related to the video decoder on G12A: VDEC_1, VDEC_HEVC and VDEC_HEVCF. As to not conflict with the IDs, this patch series is based on Neil's last unmerged patch series: "clk: meson: add support for PCIE PLL" [0] Changes since v1 [1]: - Apply ROUND_CLOSEST to the dividers in addition to the muxes [0] https://patchwork.kernel.org/cover/10842969/ [1] https://patchwork.kernel.org/cover/10859115/ Maxime Jourdan (2): dt-bindings: clk: g12a-clkc: add VDEC clock IDs clk: meson-g12a: add video decoder clocks drivers/clk/meson/g12a.c | 163 ++++++++++++++++++++++++++ drivers/clk/meson/g12a.h | 8 +- include/dt-bindings/clock/g12a-clkc.h | 3 + 3 files changed, 173 insertions(+), 1 deletion(-)