Message ID | 20240529-buzzer_support-v1-6-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 0D720C25B75 for <linux-rockchip@archiver.kernel.org>; Wed, 29 May 2024 10:12:16 +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=nQR7NgfGLhNOQLG4ztyHYWJMNyKH7FqRJ/yRCIsH3YI=; b=XuWNKe3/5u9RyPvUPge/vEIxyy 8PQX7EGTMTmbSJ8BjFW8eBh1sZIb7t76hyzQQYxVpiFJbv/zaYEkVPMVAZcdI4gvwqXx77GDrRA4g N1MMksI5gCA+SG/zhV9cm3/xmpfP4IypwPZ0E8AYCvi5p4FOycfTTPgd8WavopQPF9qtnfJ7eBJuK c8pwTw7Xc0aOZAU1ziubTplNlw+icGqPqzRo+73hDKEuC+8XJ910YldhID0oDsHglcsMvBKq+otlQ v2DYuwEAMmPebTuQLfMjTj9BekX1uEf36UbQj8hnuDzJQCOGUbMs7LtpHXpoZfP/ZZRgfF2C3Aaz8 1+fNe1EA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sCGHz-00000003ky1-1f76; Wed, 29 May 2024 10:12:11 +0000 Received: from mail-am7eur03on20700.outbound.protection.outlook.com ([2a01:111:f403:260e::700] helo=EUR03-AM7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sCGH0-00000003kKL-3mb0; Wed, 29 May 2024 10:11:12 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ps3fwI8l/Vf+1Efucv94L/GacrPuRjZhTCqeyCmM5tTe/vDK3h5XsXFeNR4zZD8EwL3pILibikm4nU2GyyekB0IEu9+SYkwb+k1RQr+ob2G+S6CqUs2r5DNLqFKeUQhgkHwHv8uTvDPVe3jovrkRmLZfSQJ0Uv0+OfstMp0PG0NfxoSP+YuHv4NFZ2RrRX04S4hkK6NQvnko0IuMNqSXvUCEFy2TxDcTTyLrQOVtof9xef/5gKVIIdnwfeWthFKt3a2tSoY9Tjim4TW5xDHp7JXNA0RxSB8DmWT1lc8NdzhYEW57oaNyWEmKOcZTC3/7iT3WxyUDE6CmLCxb8vVmNw== 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=QIMtSK+EM8pCgTvjdYWx788ni+ASBVHCRC0nlhb7Rlc=; b=LhQvCQxbTKgU2YkKycGTiNTWc8kxjg2CVyJMXTQ9+ZgpMwqV+58hC9dZcp52QtnEgnKV6ao9MQpKSRCKstlBoGGPA6jYFN3kKUqMa2rSFf/TfklJJzfqnnIeiIEN/jHCqEp8p/0EP67ENnMH6peRezCThp3lHE6o+xN4e2LLCAbyvcOJw0rTSGkbl/1YaDT8xlKw0DGISFBrKwfLi2JdxA0W1uf0yEfLCotC/m4cE2TEc+EP6IZFXwjXGfzte+yr42UzWK7J8wKy2GkbeFeHWa1YqAtqMiKtWS1DjP2sRRKtBquGRSCICmh430pIr6TCvxasZMTuUZw6szpyomsHWg== 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=QIMtSK+EM8pCgTvjdYWx788ni+ASBVHCRC0nlhb7Rlc=; b=TH1iFNqsOoqP5+6kNlvC9bUenv9t/SiCigiV4IiClzaJnUU9Qy62JL34N9kGn/o/v056iBBVGsFbZVTMHHk/QcsWcc1M14BCSm9hYkNBVFPWdR/e/826T75tD9knq74rIdXOV/D/r8QDws6riO5ja4FPEFDjoSIWG299V4VAC/Q= 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:55 +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:35 +0200 Subject: [PATCH 6/6] arm64: dts: rockchip: add pwm-beeper to rk3588-jaguar Message-Id: <20240529-buzzer_support-v1-6-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: fcdd3251-f8a8-4ebd-7c99-08dc7fc79e91 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?IBqjyb/Ns8fKYJK3FgiJEcMOk5YePUQ?= =?utf-8?q?3x3NXEEqGeB3LfLcYCGZw8ivLFVKL0e3XklKuuqu6npEkbvoxmTphqgSa556ijgBL?= =?utf-8?q?VnEVZYULrbY9oycr8r5X7Sg1V6CaRXP+PXAG9PaPU/F8C1VXfuYFfWtHnbSgk2ba5?= =?utf-8?q?pVu7KVeMwK7hKNrXZcA0MSxVma63CLw39SHBkM10s2az6yssUx4U5WFr/6nWZT4yC?= =?utf-8?q?Q6km0qLiAhrNgf+6J2g34l3Dj6AbqssCMFPOC9xJWrDdB0DAtgszAVp+78wtAc3O9?= =?utf-8?q?gd+s49udkb/eYxb8TP9tpMCuYmKaX2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0pshHekfGAfcLVpYT87I55kE95qesQ?= =?utf-8?q?p9gBaSCXluHagryAhfCUFpiiy3kH9+G+Xr1j8P/lT6XC5SwVKr21ZMXO7AW1GtSBu?= =?utf-8?q?AN41nPCayp6UrGGFONWsH27LcUwcbB1ZVeg=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?zkWvQVzTMhgza+zAg2QKsauH3ECd?= =?utf-8?q?31SXKboNqlbSGWipXuG30EMwoT4nSgN0WpjOGt+zcI4kLSJsehnpFgOumuiXuc0m3?= =?utf-8?q?Ohao8OgNUoBjDJiCnh+8wL04FlniChdcBdsL/fn/bOt8pLQps3/CxeuwAbU6PI1j1?= =?utf-8?q?Ycr3FJqhowBpAhbXfhL7Ez8fG5ny7pbdxzsr1zI4JDlHKQpY09dmSz4Cy4uUz0nw9?= =?utf-8?q?c/rjwHwowi7cqu6uo87USQNvtYFwH4Gg/KnkLe7fwwIopLURdET7TZP7C0LFq54sy?= =?utf-8?q?51xJR4xjYZT7oC1vfuUzBtrrxLGQzmE5kQyxtbORx5RXccgyoGhwyztkX7Qa2CQZP?= =?utf-8?q?RZ8m9XE5GI5LJjj/jCm6WozzGQK0FWOpu1kw8Dl3x9Q4PFFRo4qDROJq/+RYbZ9tz?= =?utf-8?q?En8Wgk37Mp+Vb6SFOq8ep2E1LR+atzPTRW9uh2mNgYLQZk4gFeErCTq2U6VzhIqKT?= =?utf-8?q?S50MGynUh3O+0y2pZSCToj7gFLjIPe0MTTrsQIiVfWSVDktbp807ktFn07rMACIOn?= =?utf-8?q?jbsv8UTDyb3MXgLE4CVZ8mNLSi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EIOtGlswQMrxGICFWuq6KjSVN?= =?utf-8?q?mysCQhzBlyVhl/eVKwHnVFTZvllxkPbwuFzXHDzyUt0uB/8inCXNxoTKF6dfQAOzW?= =?utf-8?q?ziNOrk7Rgm/s2tCStOvCiPNQrMbKcDWpvA=3D=3D?= X-OriginatorOrg: cherry.de X-MS-Exchange-CrossTenant-Network-Message-Id: fcdd3251-f8a8-4ebd-7c99-08dc7fc79e91 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.6335 (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: lD3RkbT1JGS4yKo2xPc25QSZywobvgRfyaQwte8mtzWTIaw2wWjKbyO2nrsJ3bBB/BB/eFbu0ketT5FJRMUj0fFX8x72xkp034aGXkQFYUk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8811 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240529_031111_085542_B61EDE2F X-CRM114-Status: UNSURE ( 9.77 ) X-CRM114-Notice: Please train this message. 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-jaguar.dts b/arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts index 14f1322c162f..c7c8683dc1ef 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts @@ -33,11 +33,17 @@ button-bios-disable { aliases { ethernet0 = &gmac0; i2c10 = &i2c10; + i2c11 = &i2c11; mmc0 = &sdhci; mmc1 = &sdmmc; rtc0 = &rtc_twi; }; + beeper { + compatible = "pwm-beeper"; + pwms = <&mule_pwm 0 250000>; + }; + chosen { stdout-path = "serial2:115200n8"; }; @@ -267,6 +273,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>; + }; + }; }; vdd_npu_s0: regulator@42 {
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-jaguar.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)