Message ID | 20240212121729.1086718-2-qiujingbao.dlmu@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-61537-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp2388790dyd; Mon, 12 Feb 2024 04:18:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IGJfeSGfzTi0n7YCSdMWa8Zb2Dq3TgHcfFgl2ahduMAsPmabcEzigrSITP+ZU5Ra3b/ktaW X-Received: by 2002:a17:906:7db:b0:a3c:3411:ea70 with SMTP id m27-20020a17090607db00b00a3c3411ea70mr4622035ejc.26.1707740295259; Mon, 12 Feb 2024 04:18:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707740295; cv=pass; d=google.com; s=arc-20160816; b=Wet6V0L5dfyBhSgY97z4Rf9QKLfojusAmi6pi8FQ85SGeSldNS+Yu9umVOFMCbkwxb 08VNaGPggjuWIrb6mdJKSXM+uxKhUcA3w996FdHbRAacMlES8JaN7qfnOUKfPvII25r5 fSGKtd0L8A4ANFPvXGQamU8rYxrb+gDH8CYYb+TlE/cnS89mbTN9/+/ZOf629fjNp6ay 8TjRG2Ral/dNmj1I1H8dDlO0IHIEqeKNxrlRkyjuCDGlr74+ji2TOm52/+IHvrLB747o se3GSzRkZFbZ8+l7A8b16U9BBZEOizSEyDvSmyaqIIdTapJj22nwGVCaO/v5tiSJbDdh xgew== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=8RfbJF1AHvLx68TbsWfPK5aQiL25UBSnWB8Job9Vv4g=; fh=8jpWsSpACDjvkvJF3I+vUd4AK9LtY9GKXUEI53op1io=; b=CveR7a1nFEBzfwE/9busrHhZQMZtdKpEkXdwFCB0krygvgBZJunKqwKRYqwRBrW1Jw POcw5imT1HIaPllpmKy/IfcAhOrHgukA2PLLQG2VATT6QLWQcr93p7iBdEhi4IRk+6Zq yI0FzHKTdeBIAPilnokSkE9L9MCKBGZWoKIIxJRi00LHbpnmnkzgGC+bKxhGINfs4fc/ VdheEc/uPzt4teA+CDZZzN0KB/xBV1O1l4jPV1awW02dGBpXuzCLV2dN1Yd5j/HEte+I FGenV+fipZ4ujBDacDm1PhHv9LnKm9oW4Y56jEEvPmtXySUKXvRKVShT7jBdACBZARqN k5uQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=JKsEtlBP; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-61537-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61537-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com X-Forwarded-Encrypted: i=2; AJvYcCXe5XJgFY/eEcdkPfC5WZFkAANvL7pOwBq1lt7CkZ3PbiHZu00zKKPphW85LNasgEw4i8tTcsjZj6qEZwAaz9b2ttfsCA== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id x9-20020a1709065ac900b00a3be8889f52si144299ejs.274.2024.02.12.04.18.15 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 04:18:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-61537-ouuuleilei=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=@gmail.com header.s=20230601 header.b=JKsEtlBP; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-61537-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61537-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 D9CA51F21443 for <ouuuleilei@gmail.com>; Mon, 12 Feb 2024 12:18:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A12EE3A1BE; Mon, 12 Feb 2024 12:17:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="JKsEtlBP" Received: from mail-ot1-f46.google.com (mail-ot1-f46.google.com [209.85.210.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6CE5E39FEB; Mon, 12 Feb 2024 12:17:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707740261; cv=none; b=NAqSGUsO+Y52gpb9uwXd6JF//Evczcz6eMY7ZVwoshvwrzPiBMe9QySlb61jfebhPKDA5p7biyAbg1nQBuiRbBeHUYE5a6N4T8JOVEfsGTFueFJBkBIZ+x+UxaEc2hLWm16Gj1gqgEX6MbqsL3KvDPePR6Ix1lguiVX10UXc8Es= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707740261; c=relaxed/simple; bh=5n7Ca93sgt2C4nvaRXiYy2nhqL3iHW3hsRzfzicQJdw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=AQ1sftGed+OX/swBuwpdMljmbwffLHfjm9dMEf4/H7e8ip9/E//IbjZFXe4Z851PrPA7Lftne5MXiIyAHEyCDdL2+xopVIhz+V7uDGRjRp4bnAE/jc1eglMpp9xcyRtJlxgo34IICwjc+HkXk/sXv7AJXagXGYSNMErkUWOD9y4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=JKsEtlBP; arc=none smtp.client-ip=209.85.210.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ot1-f46.google.com with SMTP id 46e09a7af769-6e2e452c852so580998a34.3; Mon, 12 Feb 2024 04:17:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707740259; x=1708345059; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8RfbJF1AHvLx68TbsWfPK5aQiL25UBSnWB8Job9Vv4g=; b=JKsEtlBPppBy2JVWgouei1oTqjrn0zGisGoQ1r6aFMOragb20Sg5XnRJjlYk4b7rl7 04U3cnWpLPb0Mu4iyta/2pZzhGBRk5f50tEaKLoxASLpx7RdDUjU/fw1VxbeIpFgKtr8 4Oami5lleFn5vFQPXmb8H33Y5wK4BtRMoMOIESk8TaR9LC/lBNmtLap6CVghe5sS3iad McjotJb9JZWH/HCwnXGf82mVEJDut6LSxIXeJuthZCfu9/QQYDUazWvpRfDPpfa8GTqz F4UpqcQ5mAEz1r3OBeKWWpk+z66jWdprKnSmFxD8kQdjSVoHR700yzNpC+XKaJ3/BKEg Pyog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707740259; x=1708345059; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8RfbJF1AHvLx68TbsWfPK5aQiL25UBSnWB8Job9Vv4g=; b=EV7u9rVd04QDOvMUswJhFD8GwdjJXJBQaTWbjK4atHTs1qvOWI7slZa7wv7RK5+IIk EE/Q9vKtH0n1JyBRYyMfQKVCXG+sI8cxg3NxNwTYXx9vpHcKfAxq+90/658sf4YpPXQR Va8LqhFIy/tKUOzJluRLSs2V6wxhvR3k4zyC2o3Ibg8GMN/S7LAEXAqWdjV0mBvLyiyi tP6qTcjvBIZJPUwwIfcBB47pQPW4EHVnbQQgC2vAkZMVJS20EFXt+omlS0E0Rs7ilugk /711LCJDaCz0hx8Sxv4JL4oXVbvxzmdwuoDNLi9Gz+/BZ+sA3zZjru+rp9mk5Vm68hqm AhHw== X-Gm-Message-State: AOJu0YzlQ6RLehmOzNDjaZctNuXfOGZXQCNrDiZTsAUg0ZvoyQpDNmNR /cmm82JoT7h4aygRvHbCgK976VFaV8E1lmWP+NZWY4xTVpeEhP/k X-Received: by 2002:a05:6359:2192:b0:176:b156:f69d with SMTP id lr18-20020a056359219200b00176b156f69dmr9001594rwb.31.1707740258740; Mon, 12 Feb 2024 04:17:38 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCWlUx/5elAYWFUyu3JBsYBwId9m/koGZaU1mU7SeGEzzCwQHHCjUkHr8ZLVBF1oOnqSPyqAtxWBXhXtha4Dn0aozg0tvbpYa2HjafCcj7uZRyev3FleJzrjuZxPpQix6KKpXyaPzTObBK0MiMj+d/iL/xKufqbFSP64R06LcFi7gki+igvtuxzxxAQLPoz085GK8HVkpy10v6wM/TPSLkStXWbeT96ic2ptQieYjI6c1Tm9e+jO62+yXcdEL7cvKA1PN08/qLNf7kRC/sF4IUJ8cRFHPDClV1gq8atT0w+A6ouYNiIaIGVxJDYp2chNJLoSf08oGaBOvUHapXE/5yn/H4EJjQk0zQmtX2jOvmOY5s5EF7hQ733jOGsN1Wc33ZqR3E8sjW4DBh4fPsxwdjVLzKk4SfDe5tJ9QUjb51FM6qTN9G5BWyDPFkZig7G6D899AHm939ruXNEH/JWkJvYiYCsbJidEJbw/vHNTtwAA/trcPxoloDm+jzgHhS0= Received: from localhost ([46.3.240.107]) by smtp.gmail.com with ESMTPSA id q23-20020a656857000000b005dc2ca5b667sm253534pgt.10.2024.02.12.04.17.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 04:17:38 -0800 (PST) From: Jingbao Qiu <qiujingbao.dlmu@gmail.com> To: u.kleine-koenig@pengutronix.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu Cc: linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, dlan@gentoo.org, inochiama@outlook.com, Jingbao Qiu <qiujingbao.dlmu@gmail.com>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Subject: [PATCH v2 1/2] dt-bindings: pwm: sophgo: add pwm for Sophgo CV1800 series SoC Date: Mon, 12 Feb 2024 20:17:28 +0800 Message-Id: <20240212121729.1086718-2-qiujingbao.dlmu@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240212121729.1086718-1-qiujingbao.dlmu@gmail.com> References: <20240212121729.1086718-1-qiujingbao.dlmu@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790695487803590179 X-GMAIL-MSGID: 1790695487803590179 |
Series |
[v2,1/2] dt-bindings: pwm: sophgo: add pwm for Sophgo CV1800 series SoC
|
|
Commit Message
Jingbao Qiu
Feb. 12, 2024, 12:17 p.m. UTC
Add devicetree binding to describe the PWM for Sophgo CV1800 SoC. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Jingbao Qiu <qiujingbao.dlmu@gmail.com> --- .../bindings/pwm/sophgo,cv1800-pwm.yaml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/sophgo,cv1800-pwm.yaml
diff --git a/Documentation/devicetree/bindings/pwm/sophgo,cv1800-pwm.yaml b/Documentation/devicetree/bindings/pwm/sophgo,cv1800-pwm.yaml new file mode 100644 index 000000000000..b5b819d780f1 --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/sophgo,cv1800-pwm.yaml @@ -0,0 +1,45 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/sophgo,cv1800-pwm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sophgo CV1800 PWM controller + +maintainers: + - Jingbao Qiu <qiujingbao.dlmu@gmail.com> + +description: + The chip provides a set of four independent PWM channel outputs. + +allOf: + - $ref: pwm.yaml# + +properties: + compatible: + const: sophgo,cv1800-pwm + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + "#pwm-cells": + const: 3 + +required: + - compatible + - reg + - clocks + +unevaluatedProperties: false + +examples: + - | + pwm0: pwm@3060000 { + compatible = "sophgo,cv1800-pwm"; + reg = <0x3060000 0x1000>; + clocks = <&clk 60>; + #pwm-cells = <3>; + };