From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 1EA62261B70; Wed, 8 Oct 2025 15:33:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759937627; cv=none; b=jtRdohXplTJBc5QqtpIk75Pj/lUoU9IQ367ksFhy1snRl6xAZGTUXJsGEhaDrcDD7lBzvqiHDLgxTxIROu+muuXmx0HedvZtPMpdV9VJROpDhNttKHw39b87L4ViHCpEZWaaA35bTJuFtXuQOEjHOu0zHrgOfwLqBy7Hwgqh5g8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759937627; c=relaxed/simple; bh=DcwuyX8vW2kqJZ7nlBXFHvGPhvHT+XYW91wlJclysz4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=qMeE30onCy8NbTbr+3NaAIAuC56kbEPNSq9r0RHSL9n08GExp7E0uFCArDiDrvh3TmYwvrqpVGMpXW/OheRbh82y9HaY4/lcWKupwGidLP+wmaVsGAWmsDIZIt+chAHaykEpEpE8NPJX7CtxLl/IWIE2lw4TG2NLy8sjpwZQkIU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=obAcn+YP; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="obAcn+YP" Received: by smtp.kernel.org (Postfix) with ESMTPS id B2859C4CEF5; Wed, 8 Oct 2025 15:33:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1759937626; bh=DcwuyX8vW2kqJZ7nlBXFHvGPhvHT+XYW91wlJclysz4=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=obAcn+YPyjQLPRFp9JI9p6flimei3nzeHRTM16PgivBbMKWdOX6xQu780T0yB5ys4 Ltws4SZj2BSaZwGqs4GdoiRmDw8/3KA5zu6lL7z3VGbqTHp/C4Etann83ipXLZ5p4P uVZC/LaaEZjfcsMRZK/mXCt+/EQ4TzpkJUmG92qGWe1Ykr0XrY7EhNCRVf4bTrmoqD O3dAZpOrfiaFYAvTm40VhqK9UchbRfCcE3Z/R32uW9O3+6ox9lbh65HnC0fJX1sSKd 7qHa25jxxUNafANzlYRpIte1gP16D5iRaG2994PxnxFQaPLpqiLwV0XMnUYO3m5XbQ 6TXySABFl6SBA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 958BECAC5BB; Wed, 8 Oct 2025 15:33:46 +0000 (UTC) From: George Moussalem via B4 Relay Date: Wed, 08 Oct 2025 19:32:53 +0400 Subject: [PATCH v17 1/9] dt-bindings: pwm: add IPQ6018 binding Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20251008-ipq-pwm-v17-1-9bd43edfc7f7@outlook.com> References: <20251008-ipq-pwm-v17-0-9bd43edfc7f7@outlook.com> In-Reply-To: <20251008-ipq-pwm-v17-0-9bd43edfc7f7@outlook.com> To: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Baruch Siach , Bjorn Andersson , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, George Moussalem , Devi Priya , Krzysztof Kozlowski , Baruch Siach , Bjorn Andersson X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1759937622; l=1766; i=george.moussalem@outlook.com; s=20250321; h=from:subject:message-id; bh=TIgQXfGvQp7H4uzUZyQsZZpdMSae9nM97ANzvYRj3gc=; b=/vRKCVEyXYSstoHCa60PMTarLCLZUFfaaMqmy9pUtzVcvDqiVIbHpeXbRinTeYm79a9XeT9mW aTwYOI2pestAAQeKr6dmgA8CiMgMuz18dGikEXzx8UYn5+9c6qq27Nc X-Developer-Key: i=george.moussalem@outlook.com; a=ed25519; pk=/PuRTSI9iYiHwcc6Nrde8qF4ZDhJBlUgpHdhsIjnqIk= X-Endpoint-Received: by B4 Relay for george.moussalem@outlook.com/20250321 with auth_id=364 X-Original-From: George Moussalem Reply-To: george.moussalem@outlook.com From: Devi Priya DT binding for the PWM block in Qualcomm IPQ6018 SoC. Reviewed-by: Bjorn Andersson Reviewed-by: Krzysztof Kozlowski Co-developed-by: Baruch Siach Signed-off-by: Baruch Siach Signed-off-by: Devi Priya --- .../devicetree/bindings/pwm/qcom,ipq6018-pwm.yaml | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/Documentation/devicetree/bindings/pwm/qcom,ipq6018-pwm.yaml b/Documentation/devicetree/bindings/pwm/qcom,ipq6018-pwm.yaml new file mode 100644 index 0000000000000000000000000000000000000000..1172f0b53fadc140482f9384a36020260df372b7 --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/qcom,ipq6018-pwm.yaml @@ -0,0 +1,44 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/qcom,ipq6018-pwm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm IPQ6018 PWM controller + +maintainers: + - Baruch Siach + +properties: + compatible: + const: qcom,ipq6018-pwm + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + "#pwm-cells": + const: 2 + +required: + - compatible + - reg + - clocks + - "#pwm-cells" + +additionalProperties: false + +examples: + - | + #include + + pwm: pwm@1941010 { + compatible = "qcom,ipq6018-pwm"; + reg = <0x01941010 0x20>; + clocks = <&gcc GCC_ADSS_PWM_CLK>; + assigned-clocks = <&gcc GCC_ADSS_PWM_CLK>; + assigned-clock-rates = <100000000>; + #pwm-cells = <2>; + }; -- 2.51.0