Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp922556imj; Fri, 15 Feb 2019 09:02:08 -0800 (PST) X-Google-Smtp-Source: AHgI3IYc1NnhJyEBdq/m8bB3/4FkoSTgGNgMcvSl4Ua64wkZo+gEOW9qyaONrbJYeZuDQXp1tky/ X-Received: by 2002:a63:db08:: with SMTP id e8mr6391728pgg.293.1550250128493; Fri, 15 Feb 2019 09:02:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550250128; cv=none; d=google.com; s=arc-20160816; b=iHpUF2n/t37AuJr4xt/eEUjUAQu4BrS6yjmSoZl4D9O07B8muP595XPR2B1pvBO1xA EjgKuasyl7PKBzR+ppbT1NY7PR+jkf6bogOdWvkSKSNCeP/tDYPzM04B/O8DVoyEOoi6 otiT6vWOwi1ZdxXWhR1jOC5pzkHJcbShTFh5IzSav7IKOkbjMfPzSutDm8jnjQQiUzhc Rbly+cB7SVaeH46ih+UsKvOegLYQpcGVlWLhpbKNRG1qNe53hi6lcqi96KP/RfAA4Q8b dVWBtH7BhFxrqEErCXO94PsvES0Q1M/8Z5VVW49gQfn3em3bt7q8dlcSUFZXMZApVwi+ jVkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=JZgqOf3corrWZ0nePn5YggmcuYovYYz84XMsoapzT3U=; b=GZZwHpdDqwMpAAIyRRJ8KwDaNLi7DmJ/VOst45ji2x4MhuqE35cpVALMixzylgS48B 0fp3ecSzdrt6gJ4mYM2e9G8sHFpY1qa6MavdRuOaaoOqAJuseu+ZqbwfzmzBKc49GoBu AjIRsh5uSFzRzOVN5IKEzsRDZx6L1UpQilITyoZTZKH22UV6dL4Ut0ElhV6GItujWH/9 JrYQEc1zBWkczj3KaoEhY0kPcmao2kGocL+Q2WtbrCRjFX5pwJQTYCDykl/MK86qWfQu nguXVSg/cP0YsnOj+Azbqs09aQisramznPHXIQZAcStuaXd9D2ECBoNiGzmM/BL8I3Nq Boeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=fv3NtWxF; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a68si6359210pla.267.2019.02.15.09.01.46; Fri, 15 Feb 2019 09:02:08 -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=@synopsys.com header.s=mail header.b=fv3NtWxF; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390233AbfBOQRm (ORCPT + 99 others); Fri, 15 Feb 2019 11:17:42 -0500 Received: from us01smtprelay-2.synopsys.com ([198.182.47.9]:46612 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729547AbfBOQRi (ORCPT ); Fri, 15 Feb 2019 11:17:38 -0500 Received: from mailhost.synopsys.com (dc2-mailhost2.synopsys.com [10.12.135.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtprelay.synopsys.com (Postfix) with ESMTPS id ED4A224E2391; Fri, 15 Feb 2019 08:17:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1550247457; bh=d6fl6xEY4l+VIcEAC+RTtJpdZFQEWJKdZ18yC8MIfXo=; h=From:To:Cc:Subject:Date:From; b=fv3NtWxFmF0yLJ8r/lMR2v6vuS7qfjD+MDTExm9R9ydJp2YLBpLcg2LZ4bB/o55FB eQlekTMiS6/OeKLqRE0kdfvGAfL2EVA6+D95vKQgrBoL1OFbK0zPn+/W4jHgA+Kvtm qGoLVs43Ul0K3O2J18FIsEddewxr5Ny1/nfWmtcn0nNtrIqgJGu0Ezfq0eQrhwBlDU iw/PhnaJqmNdjEZ4mHIjYLYKMcMsxGvRekyB2aadxTt/Nc/42jyyTZzPMTStfrjw0O JKK/0Zywj5n1mBf1QKyUEYCWUk2MVlW8byldleW6WpCMFSBH8lTiuhBfpCNp71bNYI uBgS7BpgOXDkg== Received: from paltsev-e7480.internal.synopsys.com (unknown [10.121.8.62]) by mailhost.synopsys.com (Postfix) with ESMTP id 874A3A0091; Fri, 15 Feb 2019 16:17:34 +0000 (UTC) From: Eugeniy Paltsev To: linux-snps-arc@lists.infradead.org, Vineet Gupta Cc: linux-kernel@vger.kernel.org, Alexey Brodkin , Eugeniy Paltsev Subject: [PATCH] ARC: [plat-hsdk]: Add reset controller handle to manage USB reset Date: Fri, 15 Feb 2019 19:17:33 +0300 Message-Id: <20190215161733.29914-1-Eugeniy.Paltsev@synopsys.com> X-Mailer: git-send-email 2.14.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DW USB controller on HSDK hangs sometimes after SW reset, so add reset handle to make possible to reset DW USB controller HW. Signed-off-by: Eugeniy Paltsev --- arch/arc/boot/dts/hsdk.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arc/boot/dts/hsdk.dts b/arch/arc/boot/dts/hsdk.dts index 43f17b51ee89..f80fb9dc8653 100644 --- a/arch/arc/boot/dts/hsdk.dts +++ b/arch/arc/boot/dts/hsdk.dts @@ -200,6 +200,7 @@ compatible = "snps,hsdk-v1.0-ohci", "generic-ohci"; reg = <0x60000 0x100>; interrupts = <15>; + resets = <&cgu_rst HSDK_USB_RESET>; dma-coherent; }; @@ -207,6 +208,7 @@ compatible = "snps,hsdk-v1.0-ehci", "generic-ehci"; reg = <0x40000 0x100>; interrupts = <15>; + resets = <&cgu_rst HSDK_USB_RESET>; dma-coherent; }; -- 2.14.5