Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp941323ybx; Thu, 7 Nov 2019 05:02:48 -0800 (PST) X-Google-Smtp-Source: APXvYqz4pVYWYgMx+erCbvdPk2xWwbZJL58tJdvS1zdgKLNCovQeioE5uHHZdpreDwfiYtbuciM7 X-Received: by 2002:a50:fc1a:: with SMTP id i26mr3522905edr.9.1573131768611; Thu, 07 Nov 2019 05:02:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573131768; cv=none; d=google.com; s=arc-20160816; b=Wzl3hxP2NvK9Ee2q+q0mH/++/pEpzLnGgoC5pmB2oaIqStPrZFDKvB3uUkR4pdjptE cbyIX6/oAloAXUU2x/KOAuYtVZkTZkOVvC027QBKOKNYgs27yS7nMxnAGKMt/WlOSiRx 5zcjoz6xXKxfMkFgo/lo0Iog4SbIb9cTz0d+UcVEVHnJ+mfWD53c+TQO5beoyI0AatFW ftaWP+Taqk6++1wJ6gNiE/fos+sIPUUaB5w1L8wJK1DjF/4NTdQpSDFTGR3vWrBICS4A 5w97eP2kieuEBXprgGWeZNR8Q5a4IIciR3aK4QgXj9VTwwBswyOo8YBvpJbLuCHAIbmt jdDg== 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:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=P7CQthw/RofQS/+0YZjdrYQJCpY2Q6DrgY2L2rPwhQI=; b=YHKfiBUG7efi5+SfuxBwLN2MRAbOWaMrrO/tsaW+J9wkIq7zG5vOJVXeeZP5EjOxJD ITZR4h2rk1X8Zr2nbbp9nnvKyzBTuAobe/Lwxqb5myO7r7bSzsfMFVSTCtmL4L5JRP5E KiGwfCqabz3l3fzTZe8wXZExE3RTemlCtLjtgZzo9Cah4sSe/qUBPueMbuWmqe3Ug1lu pLbDvYjzIj4R7l/+JedsJyGserPG9RAtmWWJLrV0EwCkB1VDRSMSjAzSXgYtRr6PV5Lu 8YpS/ehdzF4M6PBOsjJndQI+3nnmR6snj5plRE5eX4c2zgAr8xi6jlKyTiVrYR/Jsg5f eIbw== 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 f37si1440306eda.190.2019.11.07.05.02.22; Thu, 07 Nov 2019 05:02:48 -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 S2388574AbfKGM7m (ORCPT + 99 others); Thu, 7 Nov 2019 07:59:42 -0500 Received: from metis.ext.pengutronix.de ([85.220.165.71]:55297 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726873AbfKGM7m (ORCPT ); Thu, 7 Nov 2019 07:59:42 -0500 Received: from lupine.hi.pengutronix.de ([2001:67c:670:100:3ad5:47ff:feaf:1a17] helo=lupine) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1iShNt-0008Ok-BL; Thu, 07 Nov 2019 13:59:33 +0100 Message-ID: <1bacac547977493e50bb1fadfaf4b9ad5b4fdf0c.camel@pengutronix.de> Subject: Re: [PATCH v5 0/3] reset: npcm: add NPCM reset driver support From: Philipp Zabel To: Tomer Maimon , robh+dt@kernel.org, mark.rutland@arm.com, yuenn@google.com, venture@google.com, benjaminfair@google.com, avifishman70@gmail.com, joel@jms.id.au Cc: openbmc@lists.ozlabs.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Date: Thu, 07 Nov 2019 13:59:32 +0100 In-Reply-To: <20191106145331.25740-1-tmaimon77@gmail.com> References: <20191106145331.25740-1-tmaimon77@gmail.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2001:67c:670:100:3ad5:47ff:feaf:1a17 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Tomer, On Wed, 2019-11-06 at 16:53 +0200, Tomer Maimon wrote: > This patch set adds reset controller support > for the Nuvoton NPCM Baseboard Management Controller (BMC). > > Apart of controlling all NPCM BMC reset module lines the NPCM reset driver > support NPCM BMC software reset to restarting the NPCM BMC. > > Supporting NPCM USB-PHY reset as follow: > > NPCM BMC USB-PHY connected to two modules USB device (UDC) and USB host. > > If we will restart the USB-PHY at the UDC probe and later the > USB host probe will restart USB-PHY again it will disable the UDC > and vice versa. > > The solution is to reset the USB-PHY at the reset probe stage before > the UDC and the USB host are initializing. > > NPCM reset driver tested on NPCM750 evaluation board. > > Addressed comments from:. > - Philipp Zabel > > Changes since version 4: > - Check for stored GCR string in the of_device_id->data to gain > GCR regmap access. > - Adding check if the user used undefined reset pins > in the of_xlate function. > - Remove nr_resets initialization since it of_xlate replaced > with the custom version. Thanks, all three applied to reset/next with Rob's R-b. regards Philipp