From nobody Tue Apr 7 13:49:31 2026 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (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 02FF138C43A for ; Fri, 3 Apr 2026 14:28:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775226541; cv=none; b=ZtY13EsmkYVGroFOO5hgfQOPPXXmcrgNw34hatJqPJNbMvTV7/4UR50Fqhi8tn6ZramKKA3kAIRU0y54KoUmKzm6OwM0cp7NrhythmSB73QvTVVmxAo+LQWSjpQV6LgaBMJeL9a/b5eODQ4Pem7S7RAcg21rGKL4HuakmafnHVw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775226541; c=relaxed/simple; bh=Fy3LxmfFwAHBA49eU81J4yKn6v7ciijjsYceXxhe0CM=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=RoZhOFQwIsBo5ogQwThvdAAo6TOhUTRj61v9NFidItCqL+LG04Ik6hS5acngJjt/CTEOQS4w7c288Eot8QL+DfXVVzChDyBTwPZepp6R+CczCUzm5+BoVN+2gWNJWM6E9cWXxDZGuDtoqJpM89S6Co8/XKo26BGlyBJXMhkeKZ4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=CCTNqxQ/; arc=none smtp.client-ip=209.85.128.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="CCTNqxQ/" Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-4852b81c73aso17713945e9.3 for ; Fri, 03 Apr 2026 07:28:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1775226538; x=1775831338; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=ItvUs7qnYuRhfo9MnKht/hLCIFj2PmkiwnfJhnbvcpk=; b=CCTNqxQ/fr3EYM0bKODDyqTSY8sQFVn08w/3qeF6AGSlkAbuxcqookqTBPPKLxrJ8o X0FdqTgEODM9bwzsphVQ824wULv+dDMWZmAILBZoE8MYuCJT/H/fSkK1T7rbDgplhEav uWA/anW4RTE8T4n4mWl6ZvLP2RfIIiPREVhuObPERIhNyeSNaqJ+hsEfUzSaZWTlw1PO Lc/xUIjmLqB0CW8esNqZKo03f+jqMdmUdHSP/R3Ob//P15eRovp37WV8z0nUucvEXVcr q6IHKL5lrbrk/P6QC3z554Uh5ZY1nzKxLha8i91NXr2Xy1eRpXjTNRnvV4werd+udkMV 1JDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775226538; x=1775831338; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=ItvUs7qnYuRhfo9MnKht/hLCIFj2PmkiwnfJhnbvcpk=; b=TquHPP9uAmmNr64ldk+KyUNnlPj6XqJ17BgXT83VZMUMp9wuIEj+tCBI8ODgASlKLd 19TzFv4K1Hbt16CKsMNV8TOY1t5/LaUdtX15t3L8PJBO9bEVIEkeINHYJ8PI13KzW/Fp NZoiHHAmPue0L8Cz6Th7yke3ReyfzV76+g4imSiCXo7iI+slNfLg0SSvwlN5SURZd6g1 ejkEwyC11YkdxdRy6pY05sedME9SuAbF4DJXzMWYaA7/WULleXchSaxPrFELrn0VhkPm jl29Y2unz1KTF+Lqu+w/fWeDMly6Zxx9P+EIyFsTx28uNM1Bf3ET+5xuutce2bVS8ycR y2EA== X-Forwarded-Encrypted: i=1; AJvYcCUSOZJmWj3ET/6Ehmjt7435Nj+vCFlzbz/lJwsxIzLZf+YHF17oluYCN5Re2EeJG4kyiTN1BkVEikSJnWQ=@vger.kernel.org X-Gm-Message-State: AOJu0YxrtUyUW3qF+j6p6Q1HePbkPbjM+IJfMpt3UOlnOPFhKWNwF6/4 8KBWSbtnn8CePYu9TsOS6uT6eLvRvflRW+58PjztcZVn4NlT3Iq6rV+8/U/Nyx1+VvI= X-Gm-Gg: ATEYQzyZFBTy4ZIY3TH+VTUg/JfbODvspLWHlV5a1jFfJBA9vmsZxMuUUanfVd+SDGz Fa6S2woMNwTSyobyJHKja3mrYAbgM4Cp9SqzSrG1ITkeg9LVTCyBqpzeQOw/XsvEXPZjW9Hkz92 x/FQGzYh2FGCW695byIyex1PA2FIhOgLK6F2CfOzyNNTHUE+xPPd+tumoJaGWlPeClhRskt3Fxm yS4cK5NarAD8fAZHYRuh00YKBvRh5ZK3wUadYxKExQGuED5YHfOLK+tYKnU4EykEHy16uLWF0ts qfSV65s1AXzRyts9xCemVvLg2l+MtKFh5I99Df9lsB/F7yTNw+n89Iv6+i226KSD9gW91ll1AQc qx9jn8vLinVn2sR/hB5P0ThFrMtLW6R5WjZVhFbsHDgIoQuk8yrwVDQdCXBRQlXWB+ov3Z+wgYL 6rsqS3drx3UQGYPMCirtM7X3p4ia+j9bL+by6I7UaAD7sNEyc2jmU8WsiUBHwJrGpiTyOP X-Received: by 2002:a05:600c:45cb:b0:486:ffa3:584 with SMTP id 5b1f17b1804b1-488997853damr44739285e9.15.1775226538384; Fri, 03 Apr 2026 07:28:58 -0700 (PDT) Received: from localhost (host-79-33-140-232.retail.telecomitalia.it. [79.33.140.232]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4889cb46adcsm44349515e9.4.2026.04.03.07.28.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Apr 2026 07:28:58 -0700 (PDT) From: Andrea della Porta To: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , linux-pwm@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Broadcom internal kernel review list , Andrea della Porta , devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Naushir Patuck , Stanimir Varbanov Subject: [PATCH 1/3] dt-bindings: pwm: Add Raspberry Pi RP1 PWM controller Date: Fri, 3 Apr 2026 16:31:54 +0200 Message-ID: <11b5eee3c22cfd034bb4b425d28a5a3ff2a71828.1775223441.git.andrea.porta@suse.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Naushir Patuck Add the devicetree binding documentation for the PWM controller found in the Raspberry Pi RP1 chipset. Signed-off-by: Naushir Patuck Co-developed-by: Stanimir Varbanov Signed-off-by: Stanimir Varbanov Signed-off-by: Andrea della Porta --- .../bindings/pwm/raspberrypi,rp1-pwm.yaml | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/raspberrypi,rp1-p= wm.yaml diff --git a/Documentation/devicetree/bindings/pwm/raspberrypi,rp1-pwm.yaml= b/Documentation/devicetree/bindings/pwm/raspberrypi,rp1-pwm.yaml new file mode 100644 index 0000000000000..d6b3f52561636 --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/raspberrypi,rp1-pwm.yaml @@ -0,0 +1,52 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/raspberrypi,rp1-pwm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Raspberry Pi RP1 PWM controller + +maintainers: + - Naushir Patuck + +allOf: + - $ref: pwm.yaml# + +description: | + The PWM peripheral is a flexible waveform generator with a + variety of operational modes. It has the following features: + - four independent output channels + - 32-bit counter widths + - Seven output generation modes + - Optional per-channel output inversion + - Optional duty-cycle data FIFO with DMA support + - Optional sigma-delta noise shaping engine + +properties: + compatible: + const: raspberrypi,rp1-pwm + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + "#pwm-cells": + const: 3 + +required: + - compatible + - reg + - clocks + +additionalProperties: false + +examples: + - | + pwm@98000 { + compatible =3D "raspberrypi,rp1-pwm"; + reg =3D <0x98000 0x100>; + clocks =3D <&rp1_clocks 17>; + #pwm-cells =3D <3>; + }; --=20 2.35.3