Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp3098079imb; Tue, 5 Mar 2019 00:27:20 -0800 (PST) X-Google-Smtp-Source: APXvYqwUss4VZ4kRfmyTVKB5l2BSSmboYdUAKB0sQ/I1kCXc80YJwRfC7GDVg65Hnf0z18q8O9CK X-Received: by 2002:a17:902:aa47:: with SMTP id c7mr25180975plr.338.1551774440473; Tue, 05 Mar 2019 00:27:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551774440; cv=none; d=google.com; s=arc-20160816; b=kqn5x+dHSbLNbkOWJGmHQyQXXQ9x8uXbAGKyxQkLGhCdJOWTXhR2v0Q2Kp8wtZtrVk K00HztP6lmzAQ2X4QdD3nPcAqbtKiCvrWp+1dV5Z3VZZ/7tvM+EfHruKs+C3AMOMLWWg z29nLLiKmobt747KZfbOqwDIoK9DmdIn0vFaIiOSUoJikkuv+AHXcmC2Cx8esoFup9tq d4haSIK3a4IoqGPWGv6A6byTxcUWkppH5CiT+AiQgy+1BOlOY20bdXLm+dzUoW5Rd+qY VfsDQHtOn8MQjet00DZWVp7EfGI9jjEzCsXzGn8A3C7xlNBRbG96Ti3S/8Jy1PCAjhtV fLdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=80UeaXg4IUedyAUcI3zlaVRqw4KRHv1i5h4aQrChDzc=; b=KAUNvTRvldWPcIjzFCy76s1e/25tyzXCStUmwIoan61638gUiv+pR20DpG/4j8uOia ov6k1dS0Pc6lph8peV//P9aeea46/7NoE3MVZV49SUrwR4Qzi43I0BD9Wf4om21Wzklv HZZ3U0sjv36tpMqfKEzvz0WetV+tDLgZ/Ignh5hik121GNMwtrEUTN7N1T/uSZtulLVW xSIEHkZKh8u5GfWk9Z2/gDVrlWHhoY5Ey4NFP+PHTgEBDCCgiXBkq1qHf3LtYvKCUMhm AzNRtTCUJTinMCkSMgGNSt7CViS9KbM9+kybhMN+6tVm/6PBrOUjawUkyrw8xzFARK7T Tgqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=dx2+S8Hx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h34si99218pld.358.2019.03.05.00.27.04; Tue, 05 Mar 2019 00:27:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=dx2+S8Hx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726815AbfCEI0U (ORCPT + 99 others); Tue, 5 Mar 2019 03:26:20 -0500 Received: from mail-lj1-f194.google.com ([209.85.208.194]:37974 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725818AbfCEI0U (ORCPT ); Tue, 5 Mar 2019 03:26:20 -0500 Received: by mail-lj1-f194.google.com with SMTP id 199so6810263ljj.5 for ; Tue, 05 Mar 2019 00:26:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=80UeaXg4IUedyAUcI3zlaVRqw4KRHv1i5h4aQrChDzc=; b=dx2+S8HxXjQYkXtV0cB8MwOamzxzk896amgVgcubhQ9AMocBgUDGyqIshP8U3DdqCK EDUm2Yt63oE4N7frNz5RUHi3D36q2UTk/x4Ryuxz6DsoIkvw7PrP4gUfkSdY4i3bb4EX r2tHZQkQB1JiFjQqkY1mYpLF6LA7a308hwoL29SRHI2aZkPSgqZnyD1XS0/Ur7YgaYg6 2EzzdhetsraVgtIiswNEonuLy9NcucjRLBzz2ygAMvSdmUpVtBsv0qlIKnRDqvht4FpM UPElUTHHaruRG7S1eeUU+KqIEIv9XFh+0lg7yPSYDwZQ+tSnxaJYVXEreOPsZZEZrQp9 DRTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=80UeaXg4IUedyAUcI3zlaVRqw4KRHv1i5h4aQrChDzc=; b=nha5S7hZc9SWDaKcDDKS8gGdk+MqwBI6xDH9vliCV+1DlEHa7WHjT+QrvTvE6QsivP fTSugpSh+ct8L+ILSy9XSPCnO4fKB9Ov/iR7yh7NwWx0U/M9RABZudziNlk4VQhkQFeL 0XvqWO8zdTbRDrl5inKRPP/o3PcwyVSU37DFOYQv9r3KiCEOBwYJzcr+pxQ17IXFEWQB 5rRqhYZR15U5iO04+RTzP3EXWd42HZpMKloq0O5MXlsOxGx5n4dpONVz2ipLE9123UGS pmoIysmj2lQIcx/iABFpRgIxHSkKaLgcIZ9P+DLtOR4553onZ0gG+uMqqlhW4LS7ghEr /IbA== X-Gm-Message-State: APjAAAWBbkitSY3QUJryd/mOSyqgJHY8RhNPsDdwM8pJQ6WY1VDEhtIW gHwueqjsJzDp/9+CYIbSpe83R1jkzvKoGCyZWVsp1g== X-Received: by 2002:a2e:6505:: with SMTP id z5mr13303269ljb.180.1551774378026; Tue, 05 Mar 2019 00:26:18 -0800 (PST) MIME-Version: 1.0 References: <1551437599-29509-1-git-send-email-yash.shah@sifive.com> In-Reply-To: From: Yash Shah Date: Tue, 5 Mar 2019 13:55:41 +0530 Message-ID: Subject: Re: [PATCH v8 0/2] PWM support for HiFive Unleashed To: Andreas Schwab Cc: Palmer Dabbelt , linux-pwm@vger.kernel.org, linux-riscv@lists.infradead.org, Thierry Reding , robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sachin Ghadi , Paul Walmsley Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 4, 2019 at 4:39 PM Andreas Schwab wrote: > > On M=C3=A4r 01 2019, Yash Shah wrote: > > > This patch series adds a PWM driver and DT documentation > > for HiFive Unleashed board. The patches are mostly based on > > Wesley's patch. > > That doesn't appear to work with the heartbeat trigger, the led doesn't > flash. Make sure you modify the DTS file since with this patch the period is now passed through the conventional way. Example: pwmleds { compatible =3D "pwm-leds"; heartbeat { pwms =3D <&L45 0 100000 0>; max-brightness =3D <255>; linux,default-trigger =3D "heartbeat"; }; }; I have tested the heartbeat trigger on HiFive Unleashed board and it's working with this PWM patch. > > Andreas. > > -- > Andreas Schwab, SUSE Labs, schwab@suse.de > GPG Key fingerprint =3D 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D= 7 > "And now for something completely different."