Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp6436577ybx; Mon, 11 Nov 2019 09:06:39 -0800 (PST) X-Google-Smtp-Source: APXvYqxM57PGoBzjXxwAGP0HfUuoNgM8GR1hJq8qCI/5sjN6fWvS+dCSHhCNe3/2vAMaZvEq83iq X-Received: by 2002:a17:906:2cd4:: with SMTP id r20mr13997699ejr.307.1573491999256; Mon, 11 Nov 2019 09:06:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573491999; cv=none; d=google.com; s=arc-20160816; b=v5X3Kp6UROd7tEkRf1KOgOox9Om6r0Zc5FbOS/nWsnUabMf+GBg3APAw4fsIm3cKJF w3XVXHSoaaT5Jz9NFP/nILRCexqRbepX1xhewhhuNqdxdW1Q7/acUcp4ZB3EvhmIYY1Z ldEr5iShGrQG1VsAo80LdPJSeWT7yqBPorTgudTVXveqqYeI/PuoKHMhAIrg7qpcSBF9 qXAgda8WKewolpAGfKNA8wbjpTQpU5IjhDoyoI2DA/jfeLsx4SZEKFOyOi5sTOXd5+R4 W3wga8bt5wo8r17tXR8d/JTAxi8CRjCwmZL35Fig+V95ImoU2H4bKhi87l2p09leRQqc J1fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from; bh=OTPzqVyHejLUv7nAHt0TAD7Mko3BjX/Sj+GTNrGwajg=; b=edWr1PWVHY4j5IuAjGzHnMoo9dDANgTMrvWtZ2zkmuA7gQPM3RwfImqKfLJi39aCm0 36QyfUfh+JGeiXvQMR0POQ5x8r1djkq4toh50RtZlo7UaJl8H51DDvDNuPuPsblc13h5 HRVHOdEWi7WmF9PUnilJbm86zv26TpT8syhrWlHGugOcSwz7HSj/lp1NKl9Ngpxc/nwh Ux+zFegJPE2irapGQmGpaeEWSokXgEjlDlg2Bm2ufrlsQ/5Z05eJkxDP2jXGEC89ZO91 oGN8nODuzO475eH1/YMyENaqFbZ3oNsvhdQ/9e8LkB40K256E+WHDGjfqxqInMlujTIL 16Qg== ARC-Authentication-Results: i=1; mx.google.com; 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 q14si10253722ejb.125.2019.11.11.09.06.14; Mon, 11 Nov 2019 09:06:39 -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; 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 S1726924AbfKKRFf (ORCPT + 99 others); Mon, 11 Nov 2019 12:05:35 -0500 Received: from mx2.suse.de ([195.135.220.15]:44734 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726879AbfKKRFf (ORCPT ); Mon, 11 Nov 2019 12:05:35 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 8E132B28D; Mon, 11 Nov 2019 17:05:33 +0000 (UTC) From: Andreas Schwab To: David Abdurachmanov Cc: Anup Patel , Anup Patel , "linux-kernel\@vger.kernel.org" , Atish Patra , Alistair Francis , Paul Walmsley , Palmer Dabbelt , "linux-riscv\@lists.infradead.org" , Christoph Hellwig Subject: Re: [PATCH] RISC-V: Enable SYSCON reboot and poweroff drivers References: <20191111133421.14390-1-anup.patel@wdc.com> X-Yow: Did I do an INCORRECT THING?? Date: Mon, 11 Nov 2019 18:05:33 +0100 In-Reply-To: (David Abdurachmanov's message of "Mon, 11 Nov 2019 19:01:23 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Nov 11 2019, David Abdurachmanov wrote: > On Mon, Nov 11, 2019 at 6:55 PM Andreas Schwab wrote: >> >> On Nov 11 2019, Anup Patel wrote: >> >> >> -----Original Message----- >> >> From: Andreas Schwab >> >> Sent: Monday, November 11, 2019 8:02 PM >> >> To: Anup Patel >> >> Cc: Palmer Dabbelt ; Paul Walmsley >> >> ; Atish Patra ; Alistair >> >> Francis ; Christoph Hellwig ; Anup >> >> Patel ; linux-riscv@lists.infradead.org; linux- >> >> kernel@vger.kernel.org >> >> Subject: Re: [PATCH] RISC-V: Enable SYSCON reboot and poweroff drivers >> >> >> >> On Nov 11 2019, Anup Patel wrote: >> >> >> >> >> -----Original Message----- >> >> >> From: Andreas Schwab >> >> >> Sent: Monday, November 11, 2019 7:38 PM >> >> >> To: Anup Patel >> >> >> Cc: Palmer Dabbelt ; Paul Walmsley >> >> >> ; Atish Patra ; >> >> >> Alistair Francis ; Christoph Hellwig >> >> >> ; Anup Patel ; >> >> >> linux-riscv@lists.infradead.org; linux- kernel@vger.kernel.org >> >> >> Subject: Re: [PATCH] RISC-V: Enable SYSCON reboot and poweroff >> >> >> drivers >> >> >> >> >> >> On Nov 11 2019, Anup Patel wrote: >> >> >> >> >> >> > We can use SYSCON reboot and poweroff drivers for the SiFive test >> >> >> > device found on QEMU virt machine and SiFive SOCs. >> >> >> >> >> >> I don't see any syscon-reboot compatible in the device tree. >> >> > >> >> > I have sent patch to QEMU as well for generating SYSCON DT nodes. >> >> >> >> What about the kernel DT? >> > >> > For QEMU virt machine, the DT is generated by QEMU at runtime >> > so we don't need an explicit DT file in Linux sources. >> >> What about the HiFiveU? > > Unleashed uses gpio-restart which depends on gpio driver (not upstreamed and > not posted for review on mailing list). I have that working on my build. I do have that, too. But I wonder about the "SiFive SOCs" reference above. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."