From patchwork Sun Oct 23 13:13:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Siarhei Volkau X-Patchwork-Id: 552 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp1611771wrr; Sun, 23 Oct 2022 06:15:38 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6o6jQ/jt813BQe1ctBzOoSymzQV0W/Hz4oyMthuncgceC9uSwLC0vtmtEHmovBwURQMuNL X-Received: by 2002:a17:907:720e:b0:78e:2b59:fdf1 with SMTP id dr14-20020a170907720e00b0078e2b59fdf1mr24217967ejc.659.1666530938461; Sun, 23 Oct 2022 06:15:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666530938; cv=none; d=google.com; s=arc-20160816; b=KrUZNsU1cv1TonkjuJ1wadG2C91T4dIfYp+Jp7luN4bZd+mIZ0uceO/yuCX7hq1djg JxEjomTeHT7uFoeKHAdzQQoIYlEU5K22TPs5jgZpM7vMjtbdJRv0iTIHP61M5D3w/C/z HuSOlyMowSiyDiPkwDw+K1r69r28yueY+G7ZgJFtUs5W18UjhfUToG/Z5iYfpcWG7sQ/ mgNxjvjEMcvBz/IJ2PqMgZPx1n1y+EYSrH/xwg+H2xHEv+Gr9UtOqgkVAlxGIIaQQgy1 yAHfKbe2IsJvX1RbZeSCqNhzeCFuHApCnM+vCxyqdHQAn7bG7ZwRqe9GGBHXtjtI1GL/ SSLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :message-id:date:subject:cc:from:dkim-signature; bh=Ihtp7aNzBMRdNMm525JtTaoUZMMTaF6Jg0N4a3uc3jU=; b=DYpq6Cpl9BNKN1R2k+5XnYSKmpq/6ASf1I0cT9gzlzB+e4zqKtwSrL20rN8c9oPxhv srxZ0urKuktL/YZ8dxT/1cNTCSZQ1gF3dKXuRfDpcPw/O1M214zgxNsnKcr8G/jgOxE8 7P4aanQMsQ7zIQsMquqnqFlofBN5mijg+mswha62jnrq3h+qMEMSHMK1fzS2K3sDObNx 9ZbwypVKex9lf954bDIAz98loqZKVJtP64+U95SAqc8zahnRb14FS+jiyCt4dCxQXHU5 du8sVkp4Zf77Ny7+TKYaNCRoB42lkyF2GcaHDj9kIw6/nka9sHJ1lu8RjGK05nGMcFeK vFBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20210112 header.b=JI99yuTt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hp6-20020a1709073e0600b0078068832a70si30070639ejc.446.2022.10.23.06.15.14; Sun, 23 Oct 2022 06:15:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20210112 header.b=JI99yuTt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230449AbiJWNOh (ORCPT + 99 others); Sun, 23 Oct 2022 09:14:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230430AbiJWNOd (ORCPT ); Sun, 23 Oct 2022 09:14:33 -0400 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3211278226; Sun, 23 Oct 2022 06:14:02 -0700 (PDT) Received: by mail-wr1-x436.google.com with SMTP id bk15so11638393wrb.13; Sun, 23 Oct 2022 06:14:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Ihtp7aNzBMRdNMm525JtTaoUZMMTaF6Jg0N4a3uc3jU=; b=JI99yuTt88QtbxiWCLSYQyGXKYlDYGMgbzRDhbofBBP2bRUbwB1wER8y8xsEKliQwh 6C7S/EZu+Gjemg5xcHJeGt2L7r7DZddk0GAAxRJakRw7hK3adIR8JiVk+beCW409dtNA RITR0OKswZOJ+gJAeZR+uoR9D8hFbEq4aCAAooRpBcboVxUbHxs+rMsG+tDoeyNx5PuD GyZQGdNiHRnn+M7bELtcVv8aFmJhFjgWXbyRzxV1l50uOD/zP8qKT8+ZkHs3Qn9gZA8f FyML4HYWwFk3IZmc6MiSX/hojsKoHi+i0oQgeRXvzFVk9og2tlDc/R3UHEg+nKi++4Sh 0Epg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Ihtp7aNzBMRdNMm525JtTaoUZMMTaF6Jg0N4a3uc3jU=; b=NIPs5NRL65ApEdb+OrBpheg1e3vneg5LuYB28A9xqFpWTiHxWGjzZhtNnsXOikkD5X /uh1DzMg1pzOpmaZ8+YezySB50VmaruHgcMO4njOOWCS2/UwnDF349TutTnFMQ7CtmF5 9p/tPOduinKk5urGlzJ8Ne3TIjX0LzCKrwtZyQZk02QMFwuRsdBHPbUX969IL6X6qqia ubXlmmXKzeeP4JhjMgsDRcckcWLgiGQhLyczBuHVSsmSZdeogXBVIPx0sdFk5nv5+dVz fR8vtaAV9j+WS6buBcgTeV7uO9jjkmT2MoKbe6Ux5fhKNM6VoHoGqJgO4bWz0cdzdy2P 9H7g== X-Gm-Message-State: ACrzQf3d3B+AIIAiYMZoVc8svYcN4U5bzimE0vMGl7cz47nYQ1+0PvB1 nu1z52afwy37rXJDCv7Xy1aRdWpTQR2qSg== X-Received: by 2002:a5d:66c1:0:b0:236:5d1f:146c with SMTP id k1-20020a5d66c1000000b002365d1f146cmr5110003wrw.530.1666530835661; Sun, 23 Oct 2022 06:13:55 -0700 (PDT) Received: from hp-power-15.localdomain (mm-133-19-212-37.vitebsk.dynamic.pppoe.byfly.by. [37.212.19.133]) by smtp.gmail.com with ESMTPSA id l24-20020a1c7918000000b003b50428cf66sm8302475wme.33.2022.10.23.06.13.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Oct 2022 06:13:55 -0700 (PDT) From: Siarhei Volkau Cc: Siarhei Volkau , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Paul Cercueil , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org Subject: [PATCH v4 0/3] Add Ingenic JZ4755 CGU driver Date: Sun, 23 Oct 2022 16:13:28 +0300 Message-Id: <20221023131331.4107782-1-lis8215@gmail.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747482232672360697?= X-GMAIL-MSGID: =?utf-8?q?1747484345613021465?= This patch series adds a new JZ4755 machine type and the Clock Generation Unit (CGU) driver for the JZ4755 SoC. v4: - absent commit msg fixed - +/- ack v3: - MACH_JZ4755 creation removed - AIC clock parent fixed - EXT/512 clock clarified (tested) - dt header license refined v2: - CGU patches moved into its own patchset - dual license for dt-bindings header - Krzysztof's ack picked up v1: - adds support for the whole JZ4755 Siarhei Volkau (3): dt-bindings: ingenic: Add support for the JZ4755 CGU dt-bindings: clock: Add Ingenic JZ4755 CGU header clk: Add Ingenic JZ4755 CGU driver Siarhei Volkau (3): dt-bindings: ingenic: Add support for the JZ4755 CGU dt-bindings: clock: Add Ingenic JZ4755 CGU header clk: Add Ingenic JZ4755 CGU driver .../bindings/clock/ingenic,cgu.yaml | 2 + drivers/clk/ingenic/Kconfig | 10 + drivers/clk/ingenic/Makefile | 1 + drivers/clk/ingenic/jz4755-cgu.c | 346 ++++++++++++++++++ .../dt-bindings/clock/ingenic,jz4755-cgu.h | 49 +++ 5 files changed, 408 insertions(+) create mode 100644 drivers/clk/ingenic/jz4755-cgu.c create mode 100644 include/dt-bindings/clock/ingenic,jz4755-cgu.h