Message ID | 20240529-buzzer_support-v1-5-fd3eb0a24442@cherry.de (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BB1A9C27C43 for <linux-rockchip@archiver.kernel.org>; Wed, 29 May 2024 10:12:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=2Eoda3GIbxOcVnIBIhW5LBLZU2C26BXckURhrlMnv5s=; b=R/2qTbV5hHsBzarzSduzfU6zl3 YcHbQxfOVWHjtqGQu7jJg91kmOunm7ncgEOsDu6BqxCjIvsVHFUF5R4qP49FaeMPH1TXzQRGOndxI EbhDaI9I+O0WEwQrK1YyUuVUIh5QlG4URTa7x6ve8QE3c+65+7xf5Bf5qXaPW0Ik/oBpswjeJMOep WM428Nmm/YA9J/pi2qhE/EtBT+gO3OP0UqOgUqAdJvkVyQtgnLzThyNyZ3Pz4+WXUByV9VoHsNQLi jFam1ZUTvKghdZWBuagVXqk9J5dRDv5H2MbQo02xRyqzcsCBWo+6CyYcniBz6XvQbYoR8mAZ2STGv pBQl6QSg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sCGHp-00000003ksz-0sam; Wed, 29 May 2024 10:12:01 +0000 Received: from mail-he1eur04on2070a.outbound.protection.outlook.com ([2a01:111:f403:260f::70a] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sCGH0-00000003kKB-1ZoE; Wed, 29 May 2024 10:11:12 +0000 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 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) 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?iWrZnnNSMpdFte0BUbyklQrVXqbXpPTUqIRcNFujsf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mWJks8ENz2r?= =?utf-8?q?Io74RpV/cJlgUCa2gp37Tl/ntu/hsf88H/S7dRMXzk/vu5pHWBmNX/ge0IxaljLN8?= =?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+QDf72E81P9IkB0VPsW8NzaJrOxkfPPvsJPbJuS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?= =?utf-8?q?G2mKugA5Poz7viXbQ4iW9k4xh3lw2Vj3NBPYqWtNyddQeb5yJ63+EB8PIUDRR78yT?= =?utf-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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240529_031110_612405_1D5901DE X-CRM114-Status: GOOD ( 10.10 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms <linux-rockchip.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-rockchip>, <mailto:linux-rockchip-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-rockchip/> List-Post: <mailto:linux-rockchip@lists.infradead.org> List-Help: <mailto:linux-rockchip-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-rockchip>, <mailto:linux-rockchip-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" <linux-rockchip-bounces@lists.infradead.org> Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org |
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(+)