Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2655758lqp; Mon, 25 Mar 2024 05:54:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVUOmRA6sDHYA9h1xJyOvVLftsP44tfeh5DIckBAUSU0dPrvPlhu9mRvBJVweMxLLQO/o75ftD6TOW0ijzSGndqTsOB2TQYTsaa7FGPSw== X-Google-Smtp-Source: AGHT+IFQ57Pyb4Ho1l0M4yhGGUTjeW39FvJf/pElzCS/50tVNXipry1oRB6mDClZVo+O4XFlkFND X-Received: by 2002:a50:cd4c:0:b0:566:13a2:3008 with SMTP id d12-20020a50cd4c000000b0056613a23008mr5090698edj.6.1711371296470; Mon, 25 Mar 2024 05:54:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711371296; cv=pass; d=google.com; s=arc-20160816; b=Y1rcK32uUgl7zOHFmqQlgd68S7ov0tvRbvfYymBSqtTswdUyuLZZdLlH7zRUnwkUuU eso9yzsaJ7gayDWplQHz+giRvn1TxGUPI7sc//Ii3xWo4A/ePNwCzOP9qS6IZnwHzoST y/BC7MUQhm7KLh5wvY0J5Z1NnjB35rvWyz/XrzOLv1qLask6tYQ+INvy33uV7HYshuw+ Qq6qZT0MyyXQysjYAdvoxJ46YtWzFdsMgRCYABXKow67dc99bX1ocSB/SJHE9eqwnTIP SyTno7ilGalSsphMTsp9IcEXRJ6bUihxyaDH89ESl1/+7kEkmuJEcav3QfkapIjPOFMb 1uSQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:cc:to:from:dkim-signature; bh=YBEeTq7OGXH4yuF3fO8G/YM9YDxHqOm8d/+z2DqcRk0=; fh=GTP+oKi91t3+slCnfb0BSAw7MFiKloJDKQwwdkTHI9E=; b=wxrAyq2I08on7Q7y1eDvM/FCzWZvkKy1dWBJ6SISe4fHm6qF43Rm6U12iqbht1ix4k zKRx/5Csn1LbL/MgE05PxpgBesif5tHB3MCoJOWzwv7ktH9IerkoBcTVFkF7MZW5xvMH vNnIgmPaFBaUBWXzrXI0ZHThDtWDoCrQiUNZfu9uNE4lNsucwKkuZAOFuqut40QrRGe+ UvFIJTYkwR0qgRNyYYJK0iIjnj661FHwFSHQeS7wL+KkpLyqNPlGLpMv1r9P3OVTyqgc k5i5pwDFCHe1Dfgptgs8aNfZzkCqcnp8wubFndrhBD1bhtu+u0CiAh60JqiFeHFDv5O8 BuCg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@rock-chips.com header.s=default header.b=Cr8F266c; arc=pass (i=1 spf=pass spfdomain=rock-chips.com dkim=pass dkdomain=rock-chips.com dmarc=pass fromdomain=rock-chips.com); spf=pass (google.com: domain of linux-kernel+bounces-116536-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-116536-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=rock-chips.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id i15-20020a05640242cf00b0056c06f5b037si1589708edc.315.2024.03.25.05.54.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 05:54:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-116536-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@rock-chips.com header.s=default header.b=Cr8F266c; arc=pass (i=1 spf=pass spfdomain=rock-chips.com dkim=pass dkdomain=rock-chips.com dmarc=pass fromdomain=rock-chips.com); spf=pass (google.com: domain of linux-kernel+bounces-116536-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-116536-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=rock-chips.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 34F441F39EA7 for ; Mon, 25 Mar 2024 12:54:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 701544C634; Mon, 25 Mar 2024 07:32:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=rock-chips.com header.i=@rock-chips.com header.b="Cr8F266c" Received: from mail-m603.netease.com (mail-m603.netease.com [210.79.60.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 810CF82D8A; Mon, 25 Mar 2024 05:12:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.79.60.3 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711343528; cv=none; b=nEhwOSeDv7maXCRu1oUyoj1O+dwvb8weMXgG0b1XjewrsD1U7i1Bcu0F6x1OoQutImmvrhAIlIv14jSC19S5kUVy0uHmqyV46eTcW8JHGTyoo/2xHlaD9mcBpqBUBOonlcX9jzBJELbpAgX9nAu574bvPD+FWuzqJrwelj0vY9Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711343528; c=relaxed/simple; bh=/0L7xsGt62dkaztuu5tiwX1KwkzZV+OEKc1C03nGwrY=; h=From:To:Cc:Subject:Date:Message-Id; b=Pr+vtfcDx1NMZn1PU+4xiOQzM00M8xwgPhbPlCJ+9Q8jxKicrvoPY3/6JKe5viSNovzsZWQdgQ5OFB5Ef9lr2g1UYaH4EZVK7Kk5Lk3Rx2Ixi3fE2k5AhyLN+N1NbAaVv3ORfvkN+VaEmxgNlIy6pG76GauPj43KnVzGOgp9PvI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=rock-chips.com; spf=pass smtp.mailfrom=rock-chips.com; dkim=pass (1024-bit key) header.d=rock-chips.com header.i=@rock-chips.com header.b=Cr8F266c; arc=none smtp.client-ip=210.79.60.3 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=rock-chips.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rock-chips.com DKIM-Signature: a=rsa-sha256; b=Cr8F266cslnVeJPW43tYw1VZzCe+7ZQ8hKsz6tY+cx1mPkbzRjP3mTNbcbKX7AkkrrxPqn0nn/ttQVFoeH0pe1msroUelpJjilWcQls+p0Xk9dT2Zxq8xWIFsy2xqWEj4jxu3SeC0MDDEQyUs22KZFIyu4s5YDW6C6Fy6ET6h1I=; c=relaxed/relaxed; s=default; d=rock-chips.com; v=1; bh=YBEeTq7OGXH4yuF3fO8G/YM9YDxHqOm8d/+z2DqcRk0=; h=date:mime-version:subject:message-id:from; Received: from localhost.localdomain (unknown [58.22.7.114]) by smtp.qiye.163.com (Hmail) with ESMTPA id 15AA57C0487; Mon, 25 Mar 2024 12:16:44 +0800 (CST) From: Sugar Zhang To: heiko@sntech.de Cc: linux-rockchip@lists.infradead.org, Sugar Zhang , Conor Dooley , Krzysztof Kozlowski , Michael Turquette , Rob Herring , Stephen Boyd , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 0/2] Patches for rockchip clk input / output switch Date: Mon, 25 Mar 2024 12:16:28 +0800 Message-Id: <1711340191-69588-1-git-send-email-sugar.zhang@rock-chips.com> X-Mailer: git-send-email 2.7.4 X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFDSUNOT01LS0k3V1ktWUFJV1kPCRoVCBIfWUFZQ0lMS1YfQk1DSE8eSU4YSx5VEwETFh oSFyQUDg9ZV1kYEgtZQVlOQ1VJSVVMVUpKT1lXWRYaDxIVHRRZQVlPS0hVSk1PSUxOVUpLS1VKQk tLWQY+ X-HM-Tid: 0a8e73d3328609d2kunm15aa57c0487 X-HM-MType: 1 X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6Pzo6TRw6PjMQAg0uMw4BNAoC AhgKFDlVSlVKTEpKSE9LSUtOS09IVTMWGhIXVQgOHBoJVQETGhUcOwkUGBBWGBMSCwhVGBQWRVlX WRILWUFZTkNVSUlVTFVKSk9ZV1kIAVlBSUtPQjcG Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: These patches add support for rockchip clk input / output switch. Sugar Zhang (2): clk: rockchip: Add support for clk input / output switch dt-bindings: clock: rockchip: Add support for clk input / output switch .../bindings/clock/rockchip,clk-out.yaml | 107 +++++++++++++++++++++ drivers/clk/rockchip/Kconfig | 6 ++ drivers/clk/rockchip/Makefile | 2 + drivers/clk/rockchip/clk-out.c | 99 +++++++++++++++++++ 4 files changed, 214 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/rockchip,clk-out.yaml create mode 100644 drivers/clk/rockchip/clk-out.c -- 2.7.4