Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp1076657pxv; Thu, 1 Jul 2021 16:47:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8sRZVMsNOZ3DfT6vluEyfmYOiXiaaLaKDRiM3Px5VCUbJLH8cPbk7euPYg/KmRY/R/RpX X-Received: by 2002:a50:99cf:: with SMTP id n15mr3104137edb.146.1625183252563; Thu, 01 Jul 2021 16:47:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625183252; cv=none; d=google.com; s=arc-20160816; b=RCAtIBPYGEEa41+TwOuY298ZohoTrl+QDYfuRtmLs4wRQ5AJBYcPIe7UT9xKB3dop3 lP8BGyul2nV6p/C/0CIX+zmFK5xdKhiwAbF5snkGDSG+bJtLMvmt2tT+NY6ALj05v3gk zN5gEEcB7bs4sDYcy9Exbc8H+QIQTJWPv8bYIiSiVssY1nQWb2TZLIkBID2FOAxEuWzY josYNqYnyWZnSlh057jolJN20UeY7F2ENL4oBoHouyJv9Uq0nY/KUVJ72KTOepRsA1sS Qq7MnXD/LDst4I8FJKvAALban1uu7PydfuR5kCyBa5+sbbUN3HVDUw/ByNrQGU4a5qVL jqLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=/9otFKisgPOH6tThhGv9XOsJl/riZw+uATOpo0ZIOk8=; b=ftY/6nTYuFTArqjNv32mW38i2Yh2gqMwOcDKZctp3dPK81EbDNimkTIZbW3l+MShSn StsjcpXXbJet1jl9Hl3ULQeeO7we2WOF2KQdlUQr7oF42WEhZRPLIiZVjrQt0v6QJRn4 i4hm5Z3I1/KlUdnLLaduli23qi/lvbXLYt27gHQqQzTrKg28V/YeXpUCo+oIytzvDRT9 EI+S9WKofGVctXTa7LIe2cCllltpYCJUSfJbOH4Ecd3eEBWqA8FGq4IRoMg4pTuQxJpr Uv/jz0n1807QBGF8s12tynaMEyyo+0bPp0Rvw8vAvai+pJzm2J4Gxo7dnv7M6vPE5yrA IsMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Q9kN4sHZ; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cq14si1121073edb.313.2021.07.01.16.47.09; Thu, 01 Jul 2021 16:47:32 -0700 (PDT) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Q9kN4sHZ; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234606AbhGAXqg (ORCPT + 99 others); Thu, 1 Jul 2021 19:46:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234426AbhGAXq2 (ORCPT ); Thu, 1 Jul 2021 19:46:28 -0400 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 237A6C061765; Thu, 1 Jul 2021 16:43:54 -0700 (PDT) Received: by mail-lj1-x22a.google.com with SMTP id u20so10780988ljo.12; Thu, 01 Jul 2021 16:43:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/9otFKisgPOH6tThhGv9XOsJl/riZw+uATOpo0ZIOk8=; b=Q9kN4sHZQJxoQVjE0ZP/HLsLJis/iLJGM+CGzfnCv2b6P/zbRB3Gxvz18O6C4xuxVq He1kFJ+m2p5KzUJn9OjhSfJ1BWs6DhwDQCOYXUnZ83ftq+pB6Ai/A5Up31hAQpQPHAU5 35kZu/YlVLmAjKe9UkSCNfwpzSEOqOKwFfZ3/LmUVowCUXsSYZTqj1NYB3+oU5FYqBUT P9/jrc+RCLB7Z2kc/7g5TWYso0Ko2wb5aTtQXZZdCbgp3H8nVyl+goAYsj3xK2QNW4yN 7ceLBnPfdPYFrFh2S61TPIyNkM3hduZTQJ6a+3Jqx1uQX0tkeft5Jwm/E4r0/2IJkpaA 1Q/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/9otFKisgPOH6tThhGv9XOsJl/riZw+uATOpo0ZIOk8=; b=rQZj4P/q643F/N07pMuNwYcOf5+cjD4azNxpBLQetkaHg/gF4u1EAz3stB9PYYATgk sYLW0QbAwYSY0OhBSvFCT+wM9idWTUpfeoaP8VH8zJ+hKFN5+HdNyRee85YiHlvgPmni ByLACJH2oojYO1/sanIl2JmygmmKYwIj7T11q5Mdl0tj1GLo+NHOduG7jdJ0Alrhw6nd 6o5bpTkfmTOqaSP+kaBqwx2fgJ5qzksH9f5S8Sh4kfXqRoOygb5z0r+JLad0UEW3wOpD QINXbNzt7wderWSMxfkEo+nAUiTzKEM/F8+rUzIG0dLafBSFZY60oTUL3dbc6ICzXN7F O0Xw== X-Gm-Message-State: AOAM530bc8prnj56Jz3/Lei8CGtvnIS4JtgJZdVHAt1o1jfPHXHnqYJo rUwoToKG96q5QTrV2veb0Y8= X-Received: by 2002:a05:651c:a0a:: with SMTP id k10mr1541060ljq.22.1625183032556; Thu, 01 Jul 2021 16:43:52 -0700 (PDT) Received: from localhost.localdomain (94-29-37-113.dynamic.spd-mgts.ru. [94.29.37.113]) by smtp.gmail.com with ESMTPSA id e23sm60743lfq.221.2021.07.01.16.43.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Jul 2021 16:43:52 -0700 (PDT) From: Dmitry Osipenko To: Thierry Reding , Jonathan Hunter , Mark Brown , Rob Herring , Sebastian Reichel , Peter Chen , Greg Kroah-Hartman , Felipe Balbi , David Heidelberg Cc: devicetree@vger.kernel.org, linux-pm@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org Subject: [PATCH v2 03/12] soc/tegra: pmc: Expose USB regmap to all SoCs Date: Fri, 2 Jul 2021 02:43:08 +0300 Message-Id: <20210701234317.26393-4-digetx@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210701234317.26393-1-digetx@gmail.com> References: <20210701234317.26393-1-digetx@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org All Tegra SoCs prior to Tegra186 have USB power controls within the Power Management controller. These controls need to be configured by USB driver. Expose the regmap to these SoCs. Signed-off-by: Dmitry Osipenko --- drivers/soc/tegra/pmc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/soc/tegra/pmc.c b/drivers/soc/tegra/pmc.c index 1f6872f7b211..73ba4982ba6d 100644 --- a/drivers/soc/tegra/pmc.c +++ b/drivers/soc/tegra/pmc.c @@ -3202,7 +3202,7 @@ static const struct tegra_pmc_soc tegra20_pmc_soc = { .pmc_clks_data = NULL, .num_pmc_clks = 0, .has_blink_output = true, - .has_usb_sleepwalk = false, + .has_usb_sleepwalk = true, }; static const char * const tegra30_powergates[] = { @@ -3263,7 +3263,7 @@ static const struct tegra_pmc_soc tegra30_pmc_soc = { .pmc_clks_data = tegra_pmc_clks_data, .num_pmc_clks = ARRAY_SIZE(tegra_pmc_clks_data), .has_blink_output = true, - .has_usb_sleepwalk = false, + .has_usb_sleepwalk = true, }; static const char * const tegra114_powergates[] = { @@ -3320,7 +3320,7 @@ static const struct tegra_pmc_soc tegra114_pmc_soc = { .pmc_clks_data = tegra_pmc_clks_data, .num_pmc_clks = ARRAY_SIZE(tegra_pmc_clks_data), .has_blink_output = true, - .has_usb_sleepwalk = false, + .has_usb_sleepwalk = true, }; static const char * const tegra124_powergates[] = { -- 2.30.2