Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp274486ybg; Sun, 26 Jul 2020 04:14:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwLDqRY82nBC7HZTWZx0X1fOlzd92cqKnYxD+4KP9QO7f8HnN09TFSEBcpalc7D5IFJE8HP X-Received: by 2002:a17:906:3a04:: with SMTP id z4mr16267872eje.441.1595762057566; Sun, 26 Jul 2020 04:14:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595762057; cv=none; d=google.com; s=arc-20160816; b=cpsK7Q6uPGuk0bwCjBi1Mc+iTIxTdVoi1IArRP1uUaOt+zrQJWZ99a96lS9h5rx6np SNzfT5V3GD7htluYvN+/KMK/NB/qWKwf6GX4GG2JV7poeIPVpgG/kYsH2j6Up3No87J1 Qvragukd1g7vMESErDGN51iA1X3M26Se282Ml3ohXMJLcgSoB0WPDbEPz+t1WyLoSSjY BeuzzgIv6xf1vvdcZNdOLBTp2PaJ++rwBXFjcVUfeDymh1faMaOoH0hTkvwN4ZumydWN pzKzmo0nLPifGPkkJ9D6LdH5hIR6XCWT8ZEbz9vBDYqeb7wVYGsbSRzqCqsFyeLEmkRx sSOw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=BUGL4K4heQV6cmWFDUkEFsQC/BUMFqKxR1twxpkuadg=; b=yplU5YWATFHSE2odw0M2s0yrlpu4MF4yHPTYG2b60Z1j6Tz59RXUzlu0YovgFb89Kk j1Wa7EDEaskbCrneU+amyF6lSFcRibVA7C7I/xo5Ed+dmMZYuS7UXA88k76JfKVJC05r 1bDT6UFRfDI/duD0zpyC/74a+xeHIYMMwfWpH7tdZv/4eGk/OUsZOwg//3+4tl3J4W6s LKfN0TpBgfbT8CiR56LjtnQ/5t0FQmGEY/cODWwxSz26JjWNtAcdgHNyhl9yyeGLjqY2 m7vOl74KAbCXRlmwaV3G7U13UaX1vj46O4Mu58nMPKU77L3MDKdGY8OXyljDeNhaNvJ0 lBzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=taV75JWQ; 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 l7si914942eja.172.2020.07.26.04.13.55; Sun, 26 Jul 2020 04:14:17 -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=taV75JWQ; 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 S1728023AbgGZLNZ (ORCPT + 99 others); Sun, 26 Jul 2020 07:13:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725794AbgGZLNY (ORCPT ); Sun, 26 Jul 2020 07:13:24 -0400 Received: from mail-ej1-x644.google.com (mail-ej1-x644.google.com [IPv6:2a00:1450:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0ABF6C0619D2; Sun, 26 Jul 2020 04:13:24 -0700 (PDT) Received: by mail-ej1-x644.google.com with SMTP id dk23so2350072ejb.11; Sun, 26 Jul 2020 04:13:23 -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=BUGL4K4heQV6cmWFDUkEFsQC/BUMFqKxR1twxpkuadg=; b=taV75JWQaoJ7pMv1TUWW7Vq74WconS+Ccozkcy/34AEDVBpwGVTg8p2NAzDc4G9l7l rt3Z5OHHnc0L3ECrMybxSfVyk2PJcIfGw9Ok0PI6ysV/L1s7btZjwIRNC58H1mCr7WzL WtzqFCKdH5DyauKsm+9TZhnXK53UbEd824ElAJOrP4Bpk+DQFkdY4QOJLIwhfImAEQuf Un5tBaV9x/rASEaAC0ue4O7lrYlJQyvtudYClaH/LaX5m2mzNU7Dz76WCZQ8cteyuDIv YYrVTSZIPJHlWQrYMPCzOFQa7+mDsrWgN1BuNeKYpaqF4i9Q3AtUbRyMuwbWSXk5ZrxK lrug== 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=BUGL4K4heQV6cmWFDUkEFsQC/BUMFqKxR1twxpkuadg=; b=V5Q8erY3gbu4x4y8rianC7ebFQZ+ryzw4h1D8+tXcVPxRgvo+Rlxl1xKzt3N1u+wL4 UUEacYH4zDdon02O1VculIjwp9Pw9W9ihRI0Xte9nn0F7GaPM8ZA3cm9ibOi6yYL6HZW R2jWO757AFAyMw7BNjvMZID/ddSf3F/5olDZRZprh1Vex+nnZlFC71nWWnGPrXofA4su GsR8Dk1OZQI7iRdvmlKhQlbkCVxxHsJP0bf+3AqjTWB4I3fIG4dWH8xkRgpOAUehSw8k 1+Mzae84WRbbRNRQ4BOup5UgNSujPzX1Jo6IZ5uLNoUcRT+gOk9cIjqfUAGuB1240U/3 ms2Q== X-Gm-Message-State: AOAM530sMyu+/vGmE4vJpjAKWdaNjE8+E6UYTFA3AMyMZohrGkD/F8LH u29gf1dvDz28rghC63RruRY= X-Received: by 2002:a17:906:7a16:: with SMTP id d22mr2892892ejo.478.1595762002780; Sun, 26 Jul 2020 04:13:22 -0700 (PDT) Received: from localhost.localdomain (abad207.neoplus.adsl.tpnet.pl. [83.6.167.207]) by smtp.googlemail.com with ESMTPSA id d23sm4696253ejj.74.2020.07.26.04.13.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Jul 2020 04:13:22 -0700 (PDT) From: Konrad Dybcio To: konradybcio@gmail.com Cc: martin.botka1@gmail.com, Rob Clark , Sean Paul , David Airlie , Daniel Vetter , Rob Herring , Andy Gross , Bjorn Andersson , Kishon Vijay Abraham I , Vinod Koul , Greg Kroah-Hartman , Michael Turquette , Stephen Boyd , Felipe Balbi , Jordan Crouse , zhengbin , Jeffrey Hugo , AngeloGioacchino Del Regno , Ben Dooks , Krzysztof Wilczynski , Harigovindan P , Brian Masney , Sam Ravnborg , Xiaozhe Shi , Manu Gautam , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-clk@vger.kernel.org, Shawn Guo Subject: [PATCH 1/9] clk: qcom: gcc-sdm660: Add missing modem reset Date: Sun, 26 Jul 2020 13:11:58 +0200 Message-Id: <20200726111215.22361-2-konradybcio@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200726111215.22361-1-konradybcio@gmail.com> References: <20200726111215.22361-1-konradybcio@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This will be required in order to support the modem upstream. Signed-off-by: Konrad Dybcio --- drivers/clk/qcom/gcc-sdm660.c | 1 + include/dt-bindings/clock/qcom,gcc-sdm660.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/clk/qcom/gcc-sdm660.c b/drivers/clk/qcom/gcc-sdm660.c index bf5730832ef3..a85283786278 100644 --- a/drivers/clk/qcom/gcc-sdm660.c +++ b/drivers/clk/qcom/gcc-sdm660.c @@ -2402,6 +2402,7 @@ static const struct qcom_reset_map gcc_sdm660_resets[] = { [GCC_USB_20_BCR] = { 0x2f000 }, [GCC_USB_30_BCR] = { 0xf000 }, [GCC_USB_PHY_CFG_AHB2PHY_BCR] = { 0x6a000 }, + [GCC_MSS_RESTART] = { 0x79000 }, }; static const struct regmap_config gcc_sdm660_regmap_config = { diff --git a/include/dt-bindings/clock/qcom,gcc-sdm660.h b/include/dt-bindings/clock/qcom,gcc-sdm660.h index 468302282913..df8a6f3d367e 100644 --- a/include/dt-bindings/clock/qcom,gcc-sdm660.h +++ b/include/dt-bindings/clock/qcom,gcc-sdm660.h @@ -152,5 +152,6 @@ #define GCC_USB_20_BCR 6 #define GCC_USB_30_BCR 7 #define GCC_USB_PHY_CFG_AHB2PHY_BCR 8 +#define GCC_MSS_RESTART 9 #endif -- 2.27.0