Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp676092pxh; Tue, 9 Nov 2021 17:18:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJxLVHwm2L291P2hM50fifJJvvlZfwRA4ARNySCLpc8r6NWx9rWnPY4qKdeIF1QBR6MyWxHO X-Received: by 2002:a92:ce02:: with SMTP id b2mr8992584ilo.210.1636507127689; Tue, 09 Nov 2021 17:18:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636507127; cv=none; d=google.com; s=arc-20160816; b=U3RYqJShVhtASHpXrWXxYinKbSATp5+2Et0YAFtZ9aS+lWamhaehdXs30ljyVg8T24 bC5NrrZGt52TBMwi6BZqzxKz8sTApCqxbFsESHa7CljzKN2LPrTtxuGvn7+PYufA/p4a YB3nu61LpzDl+LnZJhRreUeW1N0/bLHtvwuy8x0sJb/LL9FDCbxavC++oJYUDFPqbe2l cJJQNEoI2Xo4ptxyF7ZPyvp+lj8uBiPOkADiPiZe2ODFw+BAZnZnfh0WxaoaY3w92ocM aXejWXgiFLWRH/P7rWVmtLk3aip0RwK7UwR/RHB59As19FiX+CjAcmvL+13EXKLzDIZR iz+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id; bh=rDxbTDzhb/m+Dq5yD4Jj+v8+opZwQNpGBCn5PrVNj6k=; b=tUw2Ayw+nip0y70QxePq6zvovWdRFo8tKiTu722qPdh+yxTtCrEaErwtWtnm4VsUia O5NDAHPlvPNDRNhgzgWNCdceqezeOtEN7E6+pDkPwoP862df0Bv9YT5MhrwW/K8HZbXU u3AtIn5sjJ7nDztkJv7rg7gmAVaMas2PovhAqCTkW+EZrjXB8AomMvndqwtTHAZQU5ji S9wJH8AXV/R6McxS8/3Qfms1qqWvUSmRL+a2gRotT7z6uFUnJxHLvWgqH71okuzlUIIg 3BzxzH+vqhudacvpXEzV168A7GAdpJFVgbLSUU/rihr1LFOJlzW6t5gGDUc65GeYc33R aSNA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a6si43328905ilj.159.2021.11.09.17.18.35; Tue, 09 Nov 2021 17:18:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242066AbhKIMYc convert rfc822-to-8bit (ORCPT + 97 others); Tue, 9 Nov 2021 07:24:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242080AbhKIMYW (ORCPT ); Tue, 9 Nov 2021 07:24:22 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9AF8EC061767 for ; Tue, 9 Nov 2021 04:21:35 -0800 (PST) Received: from lupine.hi.pengutronix.de ([2001:67c:670:100:3ad5:47ff:feaf:1a17] helo=lupine) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mkQ7v-0005tj-Pb; Tue, 09 Nov 2021 13:21:23 +0100 Received: from pza by lupine with local (Exim 4.94.2) (envelope-from ) id 1mkQ7p-000boc-CW; Tue, 09 Nov 2021 13:21:17 +0100 Message-ID: <8c3107537be9bc430de5547ce4ab168b9705cc12.camel@pengutronix.de> Subject: Re: [PATCH v2 3/3] serial: sh-sci: Add support to deassert/assert reset line From: Philipp Zabel To: Lad Prabhakar , Geert Uytterhoeven , Greg Kroah-Hartman , Rob Herring , Jiri Slaby Cc: linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Prabhakar , Biju Das Date: Tue, 09 Nov 2021 13:21:17 +0100 In-Reply-To: <20211109121631.26687-4-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20211109121631.26687-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20211109121631.26687-4-prabhakar.mahadev-lad.rj@bp.renesas.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2021-11-09 at 12:16 +0000, Lad Prabhakar wrote: > On RZ/G2L SoC we need to explicitly deassert the reset line > for the device to work, use this opportunity to deassert/assert > reset line in sh-sci driver. > > This patch adds support to read the "resets" property (if available) > from DT and perform deassert/assert when required. > > Also, propagate the error to the caller of sci_parse_dt() instead of > returning NULL in case of failure. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Biju Das Reviewed-by: Philipp Zabel regards Philipp