From patchwork Tue Jan 24 11:11:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manuel Traut X-Patchwork-Id: 4454 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2088883wrn; Tue, 24 Jan 2023 03:14:24 -0800 (PST) X-Google-Smtp-Source: AMrXdXs4E+9eV0N1tSVEeqkgL3Odc7PmY765fkGBR3Vc2iZzBDU8I53X0sDxl8sl3nwaj/28BvRU X-Received: by 2002:a17:90a:f612:b0:225:e88c:33c2 with SMTP id bw18-20020a17090af61200b00225e88c33c2mr30008227pjb.7.1674558864548; Tue, 24 Jan 2023 03:14:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1674558864; cv=pass; d=google.com; s=arc-20160816; b=sQYt+v/ZoJwLwg40aZWF+g6sYexEEjNDr7lIl0EllBpzmd6Qw+wcmfjEr3Ng28HVdd tgSWjRIk5FGnNd3cYCsHolTq/8RxyRaTpBmuC06KrNqug/F4AYqt+ierT+DzaC/rzu1a Akeo7x4nkbjbclHOTU4AkeOTpqTYStbt7YI760DNEB+vSSLrx4CcjyKSZQmHvMD846dS unAi8ezNsFRE7Q3GyDSxjG347vXXoCzctKLkK2EFfCDObcmlYN3QFz976fgfAgFEpmiR 18GlQVP13D2wsiN8x5zUYcOYSQBCD6GzfzNmy4qHm9cQPUWPHKVQhrUj8StBPAhSfVP5 0uWA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-disposition:message-id :subject:cc:to:from:date:dkim-signature; bh=6YolAmUD573RBQCLwILQLutytu2Y4odDYEs0bl31k7Q=; b=0Lp9izAVoDULHrusu8MRP868dvNu71OqFNDGzJmcCPLuviP6jYymCZ81xf1r60PYlW ZXA2L+S9sS0A/O08WKeGpRU24MEOfC1l7aPrM09UvJs8FP9nJCLz/YNeGDhgGPGDTZ+0 gwwGg41RTt8CY5HEjI8fL/FFcGFFUx+wC1vvneS7nDhAWBsXOKwlnYCTgPZgl5PHrall imauPaJVR+gdgZ0DsTgDjFjlKnWSA6awPAwcEifefGLV/kiqIuuFV2g0DCj5/YVSiOF0 nM1VamahaTvdWS6NfauHOOBLUgQjp0mPX2bnmHNwDFVMf7KfvOlzfFdrgfybMGIUO7xG eZfw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mt.com header.s=selector2 header.b=rflt60Im; arc=pass (i=1 spf=pass spfdomain=mt.com dkim=pass dkdomain=mt.com dmarc=pass fromdomain=mt.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y17-20020a63b511000000b0049f1702457bsi1732870pge.685.2023.01.24.03.14.12; Tue, 24 Jan 2023 03:14:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mt.com header.s=selector2 header.b=rflt60Im; arc=pass (i=1 spf=pass spfdomain=mt.com dkim=pass dkdomain=mt.com dmarc=pass fromdomain=mt.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233794AbjAXLLz (ORCPT + 99 others); Tue, 24 Jan 2023 06:11:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232375AbjAXLLy (ORCPT ); Tue, 24 Jan 2023 06:11:54 -0500 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on2092.outbound.protection.outlook.com [40.107.14.92]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCBD32138; Tue, 24 Jan 2023 03:11:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fVczHfO8Z3ZMycTssf8aBdh8lVJEna9gxEKxGRzAhJXTHCtW3+8UPpbduNOLY0kj3IbbM7da+1boOY7jpoGG+0lR2xUVQ5SGUOO5OtVdvRXFBtzb8WEKFP+keIdosRExwCm23Jzn7EHg3ZYMHGADUR51+g5FZ8iYOcxzndj+dIjYMmUJQOhBi2Pjc1OmJ+U+r/pg/muap8EiN9iXFFiRQWvOzsEulBJpeiv5joVL9puG8UCM/MK5LIGHg8j/Sd4zb2+fwvXYUICMhLvI9t33SXvgWaOhEPgx+hdjsVYYn3tx2OaenmEbeDbyqNlt6eHTES4Fw4EaaRt/ZndkWVBLsw== 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=6YolAmUD573RBQCLwILQLutytu2Y4odDYEs0bl31k7Q=; b=Y+S2TQXwEw/mzZSfmjst14AYEGjTqvE2jLnbAm/ujSDl8vh8rPrQcvtSVkw30b+KbPcNIqBUkre78uRkeaKrfbjq3azfJC8Myrg2N9HnJYjN7q9JDVHzU4LobJjiHNO31QvIWfvGxh43ml73WcmG42kRp5SnszkR2sQINdjQXHPi/zgTAJiZp73eSQYcAO6YyZb4oYxuR8gxkfgV0yYFyS6znQl5xUYL3hCgAkv1XSjgYf2GAeCo7Fkjjn8Z0TDfD9B8xpzD1RuhlY1BsV9gBDhN+rODfUmil0b3eXiXqzzuKDG0H7JnoT8PPl5RENk3QdKBbHsdQZ5VVgviW5fMXQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mt.com; dmarc=pass action=none header.from=mt.com; dkim=pass header.d=mt.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mt.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6YolAmUD573RBQCLwILQLutytu2Y4odDYEs0bl31k7Q=; b=rflt60ImBdFeeLjr81eDM/7pKLwJwmP4PzfK+//GlWJvq9Y7Rp0B/VOB8tL44uIllqQS9I1BkArQDfkDvfOsEvXFQylz2Xvw9WhcjieI8HB2DLNgytwQMzP7RltsLPQ3Ukjx+MdKVbbbo6papwfKpWkq6xBoePsoMgiqJ+WqOjSwjbSXRmg/eteP4Igvec0G/5bmS+nZenEWJJz7DWK8SGeQi9OwitnFjYTDGNn/Y1I2jW5P/9+FYwCZvwUYhLgaM1W+oFXcHJ4FGmzdNSVnRA7uifZqOxDa6cXQcYyOJREdgPgzNwdsKat0ToW1xhRTsvrtoc8dTrvycacVyOVe/A== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=mt.com; Received: from AS8PR03MB7621.eurprd03.prod.outlook.com (2603:10a6:20b:345::20) by AM9PR03MB7995.eurprd03.prod.outlook.com (2603:10a6:20b:43e::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.33; Tue, 24 Jan 2023 11:11:50 +0000 Received: from AS8PR03MB7621.eurprd03.prod.outlook.com ([fe80::b42f:82f8:24cb:a225]) by AS8PR03MB7621.eurprd03.prod.outlook.com ([fe80::b42f:82f8:24cb:a225%5]) with mapi id 15.20.6002.033; Tue, 24 Jan 2023 11:11:50 +0000 Date: Tue, 24 Jan 2023 12:11:47 +0100 From: Manuel Traut To: linux-kernel@vger.kernel.org Cc: manuel.traut@mt.com, Dmitry Torokhov , Frieder Schrempf , linux-input@vger.kernel.org Subject: [PATCH 0/3 v6] input: pwm-beeper: add feature to set volume level Message-ID: Content-Disposition: inline X-ClientProxiedBy: FR3P281CA0045.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:4a::16) To AS8PR03MB7621.eurprd03.prod.outlook.com (2603:10a6:20b:345::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR03MB7621:EE_|AM9PR03MB7995:EE_ X-MS-Office365-Filtering-Correlation-Id: 93bc976a-3aa5-42f5-dba9-08dafdfbca5b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WGp7846qUFsmyh2V2OOk+CcwIOjW47/+rzF1ewOUI0pFMrDHmciASol1l3ROoXUZPtoUL3jhU4qU4kSYTtVYPBT2Jw63MMbpMYVBoRBDmJlu+zbvSKjVVu5kXSEbkmcc79S2XVkS7lCp9H+TsErMiEjSI5nUkHjNZf7HBPjzKQk9OgtwgLjC/K8Nl9CfFZt+95AAauFH8I/dDK6V70a5KTRDCXE3Tpqj9uBGamrapQ/bQuMWdzRw7lLg4E6bNBwWKDcS8XrNpICdKPiFOLh0/iV2Kii1J0wlyHrojea/eYYCp8tnkI2NeGfFkoBFtRigrpyeyBHZ72c58XE7Kf4kinynXd459MQRAp85GWUUw1Aq1CfbpEonCUvShPPGMTeLWZVfEMMpBpHkmnayD8bQhVIrR70jHSwgEaCBtPJciVXhV8OABA1kUY95DK1Ksjvlnppygx/41ExEri0gYkSWDrSq+ZpI2XwSNoAGYiMgjM1viEauWmtP/FgvLgpmaNx8inGPTmlARO5lnEKASCbbf+jz+4fn1WMCd+wgJtiH156ZXH3Sk/t0BdP2O88ieaLHj9LQGk5RoDalwYF1PxEPh64bFZzD9ZRUBmBsc8kwRoHJ0VlnlzKZYOk3AJIghya7ZFdagSwIAh6ERIT4RFIndo6ntEDM4hvXd+e14DM+m1pOJh7HhSoyQDZO2yGab4X79SXUVcN79oUzJv/cPYCkpBNUisaUWSj5y/5EFrqZTlc= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR03MB7621.eurprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(376002)(136003)(346002)(396003)(366004)(39860400002)(451199015)(36756003)(41300700001)(86362001)(8936002)(5660300002)(4326008)(44832011)(2906002)(558084003)(38100700002)(38350700002)(83380400001)(966005)(52116002)(478600001)(6486002)(66946007)(6916009)(6512007)(26005)(6506007)(186003)(8676002)(316002)(54906003)(2616005)(6666004)(66476007)(66556008);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?LYhIqbdUhknZvBs8wqUFQuvF16SW?= =?utf-8?q?L53vYU6qe7ggeM1/clEwmGXpyr5ztkydJuxahHexGaPj+V6XvEBTvx7s8orV60eXB?= =?utf-8?q?a5e9gy1gi1mNySdc6uejr9skmfJgRo+ZC/6l09gkaVJ71OB2cHNP8FgWeY3aPCrdt?= =?utf-8?q?ael8grnoxNh/QzttyUJjRP7hmFbwh15Ei7bXYKqmvD97k+3tTaf944DdK3Ky5uimP?= =?utf-8?q?ocaYjiP89B8hJBInsaj/buqPAKWzNYe/iwnrdbQ2v4CGsLzqUoEhemXooQj53QENP?= =?utf-8?q?5PU5XGLG6os3UXX6WTwiaYhS/glG0J7mCYCLWc6rVx/I/dcRTAyC121Mz7dxr/qbs?= =?utf-8?q?PQR7eW7/eynzMeAQ1EPqEUyDLwRMdWXUGiC7954wxQfJna4lG5o3nUv2t+weN9Q4t?= =?utf-8?q?xVFJyjeaoXurXFLrgpJvHkzMLjo/B7RabuGR9mIBT6O206/XPnmJlQmIBI67rzd5X?= =?utf-8?q?aRRxIvUv2gY2YDhGEGef3dw8cMp4UrJZLZk4TQK+1v0guguKc3bYFBpiYg5bjr/ql?= =?utf-8?q?FGOdqfsFkFeHz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vMtg7QDRJlJGY8lvXeMOBffq4hBBXG4w58ihs2lKjod4C2vcuJ?= =?utf-8?q?fqJjvXi4ftQNdObIkO5VO2mqIb94nCpJLJFnkTI2ayZhaYRoqMmk+4AjUCvdkaLnB?= =?utf-8?q?bAYOget21kW+?= X-OriginatorOrg: mt.com X-MS-Exchange-CrossTenant-Network-Message-Id: 93bc976a-3aa5-42f5-dba9-08dafdfbca5b X-MS-Exchange-CrossTenant-AuthSource: AS8PR03MB7621.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jan 2023 11:11:50.0763 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fb4c0aee-6cd2-482f-a1a5-717e7c02496b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: sMv6aZ5P5zUaIYwbkr7UIF0OqfiinXyLrIyBCBFDjOag83hpVV9RNI3iyeZAWEimcCsEGqwO4sZ6duzKqkO5ig== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR03MB7995 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755902235795346530?= X-GMAIL-MSGID: =?utf-8?q?1755902235795346530?= Hi, I found an old patchset on the ML that enables setting the volume of a pwm-beeper via sysfs here [0]. This is an updated version of the patches that they apply to the current version of the driver. [0] https://lore.kernel.org/all/cover.1487323753.git.frieder.schrempf@exceet.de/