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 smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 6DE5DC433EF for ; Tue, 15 Feb 2022 21:14:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) id 227A9C340EC; Tue, 15 Feb 2022 21:14:36 +0000 (UTC) Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.kernel.org (Postfix) with ESMTPS id B414FC340EB; Tue, 15 Feb 2022 21:14:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.kernel.org B414FC340EB Authentication-Results: smtp.kernel.org; dmarc=none (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.kernel.org; spf=pass smtp.mailfrom=lunn.ch 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 List-Id: 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: > > 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 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 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 EDFACC433EF for ; Tue, 15 Feb 2022 21:15:55 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ZV8uNjnNJo0mhVhzyVkLtHf+ZDi5lsdnzFubBXzi1ac=; b=plZ8ls948+mhNr 05uv3pwtGtVyBJ5E63usAMKyqxMaIhviL5QZQA/P4Yvz1gp0kSzBfb6cBpWVc8PpZPGdWaNU2ERpR EN3V1pz3eWHzmvDptBqEyOA3th1EPllPe+cEgftAXeN3VmgoHyUPEb0mmEawRiSQ9oBrindk8kurN y7H5azWGtlmyeVrZmYjnSiO1CfrAfN7b6LblblBD9CvNwPX1+A9wNrQX8ifOpo7qiTIgSaGOpEIZX xVWI4TaiMt6lLwUEM706GmakS+XxREo8iLDYg6gsBdf47bi74Zl/6jalEvGmWukFhQA/uLYrMavnB s+zWet2hWGpNd471Y7cQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nK59q-004fk4-SB; Tue, 15 Feb 2022 21:14:47 +0000 Received: from vps0.lunn.ch ([185.16.172.187]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nK59n-004fie-KP for linux-arm-kernel@lists.infradead.org; Tue, 15 Feb 2022 21:14:44 +0000 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-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220215_131443_687026_DA58C03E X-CRM114-Status: GOOD ( 12.98 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel