Received: by 2002:ac0:a874:0:0:0:0:0 with SMTP id c49csp371489ima; Fri, 15 Mar 2019 04:52:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqwsibEgGYaQD/ODevsE+l4YM/ac+JnDdfVk6AqytH2hCH7Kii9wPjhFzUnnVSsOlKe5zP+Z X-Received: by 2002:a63:2b82:: with SMTP id r124mr3038379pgr.214.1552650764156; Fri, 15 Mar 2019 04:52:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552650764; cv=none; d=google.com; s=arc-20160816; b=DQjhkEasH+K67oVEQ9HKd35ga8MC0P1qx6ZrSqIBI040+lAeCLPOUcNn7tZfGWs/MF oyToUlNiaHt3+36iyGGc15eUx2gxApakm/YiJDkpvjuKBRbj9ZOhSnKsjrOfhyUr8HIp vWBkJ3UH1zeEH18u4he5f1DRZ6CiEU6udKfpvGS5zuxSoGyEWc0UuL+TOd8aEsqh8FTZ /Mu4KJ1bHwnpexw7zRl34ioP+qQTp9TlmsprJnYBvSneHU/1RnUzb1Lxba7/RzVWrhXI cqo7+QDfi90+c9nyH8IfPvmg33qxEf7E17g5pZYgknlE2xRDL7Y6HUxZibPWK/GUj/kt 7zeg== 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=1skTJj6HHHRWua0cE5sPm6z+McI8wT6PEJwIOHW+cdU=; b=YH4O0JAQjwLbDBLJ2WKTRuL/jbv1KbrMPSL5+sHRsmXP61a2kVUmiI4FRJ8Ht5FG+W UyTGSjmUBhu5E9mfN4gb0reKfQk3XxjPPJtTXq+Is7fCoCBGV2D7mBTav1kTaCADCNSW z+0hrtE7JOTsTo7AhH6MQ4RKhSb/tm+MCvtL9fHjFzQa2fHKfmFkdt2SV49i3KxNIbMz xSDiHZW5ampbgVO245yDx/UteFqtRTOGovCSGf/ZrodA24P3dGETlXFcllEPd46Va/xd wfx7Wt2W9ZvTFzPyz8XoBJ+1VlyDJoRuIfNNBQxbjZqr+J0lnVjYdVuP+Sviq1Lfzr0l HH+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=YfUpW3qF; 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 g1si1582982plo.418.2019.03.15.04.52.28; Fri, 15 Mar 2019 04:52:44 -0700 (PDT) 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=YfUpW3qF; 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 S1728886AbfCOLuj (ORCPT + 99 others); Fri, 15 Mar 2019 07:50:39 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:44920 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727378AbfCOLui (ORCPT ); Fri, 15 Mar 2019 07:50:38 -0400 Received: by mail-lf1-f68.google.com with SMTP id u9so6586751lfe.11 for ; Fri, 15 Mar 2019 04:50:37 -0700 (PDT) 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=1skTJj6HHHRWua0cE5sPm6z+McI8wT6PEJwIOHW+cdU=; b=YfUpW3qFaKDdwr6mDAJHFkULkW4dFhOnvNwl02zrPZaTkgVRw+lLZfgbsSv21wjrfs BzgtCPnUGKITg+jvw3XSJoXs763tYZACPeFPMiyz39zzaDOjYi8PzLD3Z65eCq35foj0 sM/Qol/vg1lbFl4MDuR7y53WcukMuBODeRkJOX2a3Q+d5jWShzS6msXMqxR25Xe1UpW7 J/WuowkIPFeHF1+DLLLKr3eTHPd8jaSE0d95eVWoNjbtk8bxSMzlt54tABF+eLhzR4tU 1nXcdJyFStj22RfErLPL3qP3y8o6Cd8s4qkCUK2Srr7q6OzftKq+0ihpNa24yeFKEhFu WXOA== 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=1skTJj6HHHRWua0cE5sPm6z+McI8wT6PEJwIOHW+cdU=; b=d6Mf613fQMHAzBoyebX68/dB3ZgU4v/j4eVYHeFURm13XP+k/lz7O7cKwwN1uvIooc wamtI84mIhFUQTOrvwEZyHZiXqdGoPrbsYw6PHNCjKpjCUWaZ4S6WDL3qMvu8Tiaffoq Dd0qz6GFwT+CBEPQFJ96aehA/Yc1ef3AROOBQAZ66ekS3ogiwaLMeCAzipHYPo9nUgsY 6njmHBk8gAnGyxFJ/UTqM09DgVDmOE179/DHMOiRJ9yLi3Io9AiKjSZFBIcW6fBsdtvr JFA/IEmpD6SHP9KraUbjje3QG08p78U59jGB2ThogFEAFVe1R4yXVCS9P9EuL7XwWmWs dP6g== X-Gm-Message-State: APjAAAXPL7juvZk3yWxMsqFbqwKrQ8C0Dmd2FjRECpjMY1Ufr1DTuDM/ 0mKpiBBZpPtW93OJITF2GdQhR9lWEFO+LW2wHkH5eg== X-Received: by 2002:a19:4948:: with SMTP id l8mr2115436lfj.156.1552650636613; Fri, 15 Mar 2019 04:50:36 -0700 (PDT) MIME-Version: 1.0 References: <1552378289-27245-1-git-send-email-yash.shah@sifive.com> In-Reply-To: From: Yash Shah Date: Fri, 15 Mar 2019 17:19:59 +0530 Message-ID: Subject: Re: [PATCH v9 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 Tue, Mar 12, 2019 at 3:44 PM Andreas Schwab wrote: > > On M=C3=A4r 12 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. > > Heartbeat trigger still doesn't work for me. You need to make sure the period setting is passed via the conventional way in DT file. Example: pwmleds { compatible =3D "pwm-leds"; heartbeat { pwms =3D <&L45 0 10000000 0>; max-brightness =3D <255>; linux,default-trigger =3D "heartbeat"; }; }; I have tested on HiFive unleashed board. To modify DT file I performed the following steps: Use the open-source FSBL from: https://github.com/sifive/freedom-u540-c000-bootloader Modify the fsbl/ux00_fsbl.dts file and re-build the fsbl.bin Steps for using fsbl.bin in HiFive Unleashed board: https://github.com/sifive/freedom-u540-c000-bootloader/issues/9 > > 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."