From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 60B78C433F5 for ; Tue, 15 Feb 2022 21:14:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244328AbiBOVOx (ORCPT ); Tue, 15 Feb 2022 16:14:53 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:44682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233326AbiBOVOw (ORCPT ); Tue, 15 Feb 2022 16:14:52 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 946ED7EB09; Tue, 15 Feb 2022 13:14:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=Ewfe4TG75hNdQYiqI5YcRGb9gBCJCzU8HIieAhtXL9Q=; b=rUAnTaT6QlkDIZSbdWSdyVfoP0 /IhvV+6wHA7VESbxmaQ0RieXS20ndEBV8tIvsXyH/k5IlVK9Mx8b9B6gxBFLWyXPtF/wQc/tMi1/F 59BFtiff3amxKR2ZXyQGcWyREYWaMSuavp6yZ7tYIVti1E6erzFBouUTvaoCpEfwCHZ8=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1nK59U-0067eJ-EW; Tue, 15 Feb 2022 22:14:24 +0100 Date: Tue, 15 Feb 2022 22:14:24 +0100 From: Andrew Lunn To: =?utf-8?B?UGF3ZcWC?= Dembicki Cc: Rob Herring , Arnd Bergmann , Olof Johansson , soc@kernel.org, Gregory Clement , Sebastian Hesselbarth , Krzysztof Kozlowski , Shawn Guo , Sam Ravnborg , Linus Walleij , Corentin Labbe , Oleksij Rempel , Hao Fang , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-kernel@vger.kernel.org, Linux ARM Subject: Re: [PATCH v2 2/2] ARM: dts: kirkwood: Add Ctera C-200 V1 board Message-ID: References: <20220215163926.894-1-paweldembicki@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > Thanks for adding a comment. So you need something like a PWM driving > > it? Have you tried playing with drivers/input/misc/pwm-beeper.c ? > > It use a PWM device. Driver gpio-pwm isn't accepted in mainline so far. > > > Some of the mvebu family have a simple PWM functionality as part of > > the GPIO controller. I don't remember if kirkwood has this. > > Kirkwood have very simple blink mode only: GPIO pin make visible blinks. [Goes and looks at the datasheet] Yes, Kirkwood has fixed rate blinking. It is the later generation of devices which have true PWM capabilities. Andrew