Message ID | 20240529-buzzer_support-v1-5-fd3eb0a24442@cherry.de |
---|---|
State | Deferred |
Headers | show
Return-Path: <linux-pwm+bounces-2290-incoming=patchwork.ozlabs.org@vger.kernel.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=cherry.de header.i=@cherry.de header.a=rsa-sha256 header.s=selector1 header.b=lMZ9s2uu; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:40f1:3f00::1; helo=sy.mirrors.kernel.org; envelope-from=linux-pwm+bounces-2290-incoming=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org [IPv6:2604:1380:40f1:3f00::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Vq4vh71Fgz20Pc for <incoming@patchwork.ozlabs.org>; Wed, 29 May 2024 20:13:04 +1000 (AEST) 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 8CB6DB24043 for <incoming@patchwork.ozlabs.org>; Wed, 29 May 2024 10:13:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4009018130F; Wed, 29 May 2024 10:11:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=cherry.de header.i=@cherry.de header.b="lMZ9s2uu" X-Original-To: linux-pwm@vger.kernel.org Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2120.outbound.protection.outlook.com [40.107.7.120]) (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 6014C180A7D; Wed, 29 May 2024 10:11:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.7.120 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716977467; cv=fail; b=kUWJCtP9sox8yk6N5+Epp6lMiq9pQhKzK/kE9krwYyzyggYhBq/vKlCRVaKgUvuXYFVFqUu1hhRns1DQuMNcX4qT4Hcd2TAop0Oc/r4zUd6dgJAo5CWhEoluYF9ZIPZJ3UHxreygPFPTbGuEd7wZoSPkfE11d1iswckIWTzAZc0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716977467; c=relaxed/simple; bh=q7kaxIURB8xAnS2S/IQovHbVsPKDgH7D4X2/1xN9QJc=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=WkV7lXhx0hF87z2EFnMd4twBbXnL9prpmuEF/kR3iKcwEqLoZYpPQCWH0bAU7NRi3zaj3x3LLkoZLqXnYJGFbKRm/gqiLQXBmRsM/zV0GMRIa3cPpgNsPfBPd8lf4qBS08v/N3tBmjMJJtZJiyPnpBA1rcz3weVdL0SM7CbfkJ0= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=cherry.de; spf=pass smtp.mailfrom=cherry.de; dkim=pass (1024-bit key) header.d=cherry.de header.i=@cherry.de header.b=lMZ9s2uu; arc=fail smtp.client-ip=40.107.7.120 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=cherry.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cherry.de ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cE0Z8OFYley903hIe6Y8f/+1Ze2k6tO+1hFepz/JFzT2fvR3ivgrKlLW0eceatJ73g98Ciu2c4ex8xnaj6e/9oJMuZ9b7WoZeh2dcWtadttq5k8oR+tA7t94k47LZcsAIPBdIT1cbWoCzKgetXDBZTI+tZqD1urdP1MONLmoX4uT8ADWTesfmOoWW4BHgWGi7hyYCXUjQrZ4lutVIitO5HhudoINToem9Djn5UTU+g53bRFDVxBHysRigH3CGWeK6egAvOHUIOK0jOwzl8++KDkWZWuZ5jhRSXQs7FKYg1qoTbtzddkyMwnTnHT7RdF8ahOG8xJnlvPiIjhWtr56rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=dfsSJgRbvl1c86QAKbFelyi3eLg3eqC4arVck2wwsEU=; b=UZZ84Sx6I7ABlSa5vLahTjDjeAMAnMRuxwDfsdUVcduSvUDBH/OvNrXa8V2WmBuxqOgERvhf6V/oJMTi09UakjEFlbnomp/282V9bo/EnheOonOJiiis4v3ZcWDK5hGQ7PblM5LD3cvbwoa+exYzDRcJpSsdnpXNrk3jfXrEynjYQkfDNTdcwyq1gAZXtbeTwJh9DN871hBmeJtf11K+yBdHCLzrIXSt3BbW0dQx8e5zUWQ16eWVZwGC9yjtfwS6rHXhe+2FNUyp3FzNd4H9ZY5naKaWMwu939jLiu/WU5fOD2WBFePTAXUFcjsPBOi0HtFCAlrr/LUeeF928iVpOg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cherry.de; dmarc=pass action=none header.from=cherry.de; dkim=pass header.d=cherry.de; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cherry.de; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dfsSJgRbvl1c86QAKbFelyi3eLg3eqC4arVck2wwsEU=; b=lMZ9s2uu5K2DHqmIVgLzKUN6lyL+MLu28Hb3w7PB9ig3F72ggny58AtM0xJs8wk0K0gyhjWQOyzqbogaAkPxBM1UBFUQt+cmMPDLpytUrkRdnxG1eNCIcvNVzJozi+md7zPXs6akDHqudE48+SxdKevQEBFjLBd7NnvyBEh8NHw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=cherry.de; Received: from VE1PR04MB6382.eurprd04.prod.outlook.com (2603:10a6:803:122::31) by AM9PR04MB8811.eurprd04.prod.outlook.com (2603:10a6:20b:40a::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.19; Wed, 29 May 2024 10:10:54 +0000 Received: from VE1PR04MB6382.eurprd04.prod.outlook.com ([fe80::2a24:328:711:5cd6]) by VE1PR04MB6382.eurprd04.prod.outlook.com ([fe80::2a24:328:711:5cd6%4]) with mapi id 15.20.7633.018; Wed, 29 May 2024 10:10:54 +0000 From: Farouk Bouabid <farouk.bouabid@cherry.de> Date: Wed, 29 May 2024 12:10:34 +0200 Subject: [PATCH 5/6] arm64: dts: rockchip: add pwm-beeper to rk3588-tiger-haikou Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240529-buzzer_support-v1-5-fd3eb0a24442@cherry.de> References: <20240529-buzzer_support-v1-0-fd3eb0a24442@cherry.de> In-Reply-To: <20240529-buzzer_support-v1-0-fd3eb0a24442@cherry.de> To: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= <ukleinek@kernel.org>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Quentin Schulz <quentin.schulz@cherry.de>, Heiko Stuebner <heiko@sntech.de> Cc: linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Farouk Bouabid <farouk.bouabid@cherry.de> X-Mailer: b4 0.13.0 X-ClientProxiedBy: VI1P194CA0043.EURP194.PROD.OUTLOOK.COM (2603:10a6:803:3c::32) To VE1PR04MB6382.eurprd04.prod.outlook.com (2603:10a6:803:122::31) Precedence: bulk X-Mailing-List: linux-pwm@vger.kernel.org List-Id: <linux-pwm.vger.kernel.org> List-Subscribe: <mailto:linux-pwm+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-pwm+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VE1PR04MB6382:EE_|AM9PR04MB8811:EE_ X-MS-Office365-Filtering-Correlation-Id: 669a2153-8fd4-4e70-356e-08dc7fc79e71 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|366007|52116005|1800799015|7416005|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?zv7vjKiUVYq9KEJRsZyJ/CpqZxPtnlv?= =?utf-8?q?C1aIQrWXfHg+dtA/E3dqu2TDrYrGCycEdeaJv5zlNNXiKLNizYK36HbIW9j9gZ2t9?= =?utf-8?q?pXRDaRHGZxAkueNirCeBZv3XOZ0xJWvF0qvpG88x6f8v5i3XWPgzRSw+3N1B9AY17?= =?utf-8?q?ITFAdzc3wJPqrZJaqUIWAhv0+Ri7h1vFVT42mXcAJwRKB0Ud85FxlpkYgvy95ULYs?= =?utf-8?q?BEBalcZnPfT+IyRP0BlbO5sRZkPr7NFomU5edwhhafm4JGz9O9GfoJY2Tray1MQqk?= =?utf-8?q?iWrZnnNSMpdFte0BUbyklQrVXqbXpPTUqIRcNFujsfkuOMjYAKKUCuJwCWs/tvdaC?= =?utf-8?q?Ax5E24CzDa4X5yeTtqATu+i4+IaStPl6Prg/JIE9BA3KKJQVF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N8?= =?utf-8?q?hKu4b/YK7/W41kwxftBUVYNnoro1MYryBNQ=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VE1PR04MB6382.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(366007)(52116005)(1800799015)(7416005)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?j9ppmaiZWUXd+IHsCPKjZOIMTcIT?= =?utf-8?q?XgYa+iPzRVUasIPX3OmYI17+9jPndqHACIW84d8tbzm7xEJCm5GoK47KnQUHzNnXh?= =?utf-8?q?Gu/79we7tffo9hBIYRf27HzvRzFoBNPwPtJAD4OggS5+HRFPXK5eqfRp1I/NJgMY0?= =?utf-8?q?QvfiO9C4fsix+qL/8AQ5GONLen0HCDtyRdv/lSUdLJvexCu/KoVCG/oLJV9fPepNK?= =?utf-8?q?tiVV/YChzs+Du4aLLBaega5R5Uotwvpfcp6GjvzcgvnVUHa4FQ81WJ3RKdLHlN9rs?= =?utf-8?q?cPrTEbFDLKw603g9/vlsFlC3X8UpsPxdzw+IhYkkksJraF2s9tFCTHTkXYlEtIHVw?= =?utf-8?q?GGUHShWOF8UBCsvb4cA7YWULy0hl0y73yX/v/GlqBJZ5HA2AmW79aq1LniNCVX2G7?= =?utf-8?q?hUcUpiUnaJ5ZbPfsj8vvSRceokYDSpV0Rh8nV07FGjhT4NntqQ8hv5phsGHxuNwtQ?= =?utf-8?q?1hl4paMTLQk6W297Pvm8nuSx3W0KiliDZPGXop5BDA1LNqpAo9a0qb2KbvCvRDdFC?= =?utf-8?q?PkxL9kB+QDf72E81P9IkB0VPsW8NzaJrOxkfPPvsJPbJuSA39h9Q3mNlDRMyx4o0D?= =?utf-8?q?iAe80QFkf3208E74j6Ay850KGogTlfbaxe6PCB85GzZvMh46S6p5rike+yfnr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8?q?+TMShSS1zCyOtmIb+xddgzkNqevy0QOOxg=3D=3D?= X-OriginatorOrg: cherry.de X-MS-Exchange-CrossTenant-Network-Message-Id: 669a2153-8fd4-4e70-356e-08dc7fc79e71 X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB6382.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 May 2024 10:10:51.4087 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 5e0e1b52-21b5-4e7b-83bb-514ec460677e X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: bzQgMpU+A4/GS1Iw6AUdFUqzMr8HFh9bRb7qplZ5svdiOC3IhwLj6BoswqoBAGH0ivPqspv3QitYPcUp6OOreWWFsymdbP0EcE6WrXC5ico= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8811 |
Series |
Add Mule PWM-over-I2C support
|
expand
|
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-tiger-haikou.dts b/arch/arm64/boot/dts/rockchip/rk3588-tiger-haikou.dts index d672198c6b64..cd5f07ef70c5 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-tiger-haikou.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-tiger-haikou.dts @@ -16,6 +16,12 @@ aliases { mmc1 = &sdmmc; }; + + beeper { + compatible = "pwm-beeper"; + pwms = <&mule_pwm 0 250000>; + }; + chosen { stdout-path = "serial2:115200n8"; }; diff --git a/arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi b/arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi index 5ed7d51717bb..7b95bede4621 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi @@ -13,6 +13,7 @@ / { aliases { i2c10 = &i2c10; + i2c11 = &i2c11; mmc0 = &sdhci; rtc0 = &rtc_twi; }; @@ -228,6 +229,18 @@ fan: fan@18 { #cooling-cells = <2>; }; }; + + i2c11: i2c@1 { + reg = <0x1>; + #address-cells = <1>; + #size-cells = <0>; + + mule_pwm: pwm@18 { + compatible = "tsd,pwm-mule"; + reg = <0x18>; + #pwm-cells = <2>; + }; + }; }; rtc_twi: rtc@6f {
Add PWM-beeper that uses Mule PWM-over-I2C controller on i2c-mux (0x18). Signed-off-by: Farouk Bouabid <farouk.bouabid@cherry.de> --- arch/arm64/boot/dts/rockchip/rk3588-tiger-haikou.dts | 6 ++++++ arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi | 13 +++++++++++++ 2 files changed, 19 insertions(+)