From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1738FC6FD1C for ; Fri, 24 Mar 2023 12:55:45 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 63BBF85DAA; Fri, 24 Mar 2023 13:55:00 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="Ff1TAbwy"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2D350859B4; Fri, 24 Mar 2023 09:05:28 +0100 (CET) Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id C24AB859B4 for ; Fri, 24 Mar 2023 09:05:25 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bhupesh.sharma@linaro.org Received: by mail-pj1-x1034.google.com with SMTP id p13-20020a17090a284d00b0023d2e945aebso5288235pjf.0 for ; Fri, 24 Mar 2023 01:05:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679645124; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=348CRDZrzAjDt5mi2CPA2bsJ5TsDLp9Xz9q6y4mKS4M=; b=Ff1TAbwynnYjqsydZacmmbTFduXsRqLJj5aJXpMwiUrRdU9qDo0HISij8jPXjqB8JU w6zqDUT8pQyNeXUGoGXfA2l9deREyc/70CFtKFrqD40Y4GKUkExCMbHS3WpxEWvjgtYL 0IquuyZpniGivev+YtJg23BRObBpuU/gVKDHdiZqbwdrW6W6PSPXtp5EBIvopT2jPbu4 jbsUdUCAi7oLvdGNkg03KlMfgppkR442NtVsUyD13m2XypQuUmgJyUsDDTYHku54dRgN /wuS4lQ9ElT0+CObcXGLYDQ1ram0SoCot1MkM5f0XDSmwKxOotT6WoNHSZld8KI9KVTD hGdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679645124; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=348CRDZrzAjDt5mi2CPA2bsJ5TsDLp9Xz9q6y4mKS4M=; b=W2BlQ78NCMNy78gIaacpynMRokv/DGoki9DD9pYv5N3f/340MvG4rJgDUEkwhyZpgD fdAd9UEiizMqwyeU++UpT/UBPZZro87u0bt8jRR7VJOANyUyp1I3Evb5ro8NAZosi9D3 EqNyRtG2qKYbv3iOvqpQK7olQAJ96IHFFvDbb3/q4RJupNhyLnwHxEKy+4f/9faZEdLl 5B/Rx8Pr13XNY4keX1EtmaPFDuDesu6Ch4SNDFS/lxk21E+LDc5wdbgU4EAIisJU3cEX Er2BT6ZYgYCVdeJJIFzCVlzWT44MTh6mdyoJegpPdgzyGHXFB49ncBx4DyrCX2He6Z8G w9/w== X-Gm-Message-State: AAQBX9feCOJoPFErJffCbd4uJA8wSQSxCISV7DsiPGCxqAVYeIMVTVNC pc5Q5J2Usqrtyr+2u6BAL5hORhiGydrOlRcri/g= X-Google-Smtp-Source: AKy350ZmVwz/r9FLiY51dRAuKY/k/AQ5PHgkroph43l3LrDcspG46s9f69cmnytXPaKs6rA5aDbySA== X-Received: by 2002:a17:903:11c8:b0:1a1:a790:c1e6 with SMTP id q8-20020a17090311c800b001a1a790c1e6mr2154203plh.46.1679645123765; Fri, 24 Mar 2023 01:05:23 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c60:d4c3:8671:83c0:33ae:5a96]) by smtp.gmail.com with ESMTPSA id s22-20020a170902989600b001a04a372fa0sm12205293plp.251.2023.03.24.01.05.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Mar 2023 01:05:23 -0700 (PDT) From: Bhupesh Sharma To: u-boot@lists.denx.de Cc: jh80.chung@samsung.com, peng.fan@nxp.com, rfried.dev@gmail.com, sjg@chromium.org, trini@konsulko.com, dsankouski@gmail.com, bhupesh.linux@gmail.com, bhupesh.sharma@linaro.org Subject: [PATCH 3/5] reset: qcom: Add support for SM6115 SoC reset table Date: Fri, 24 Mar 2023 13:34:16 +0530 Message-Id: <20230324080418.3856409-4-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230324080418.3856409-1-bhupesh.sharma@linaro.org> References: <20230324080418.3856409-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Fri, 24 Mar 2023 13:54:51 +0100 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Signed-off-by: Bhupesh Sharma --- drivers/reset/reset-qcom.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/drivers/reset/reset-qcom.c b/drivers/reset/reset-qcom.c index 94315e76d5..046d2c083b 100644 --- a/drivers/reset/reset-qcom.c +++ b/drivers/reset/reset-qcom.c @@ -131,6 +131,24 @@ static const struct qcom_reset_map gcc_qcom_resets[] = { }; #endif +#ifdef CONFIG_TARGET_QRB4210RB2 +#include +static const struct qcom_reset_map gcc_qcom_resets[] = { + [GCC_QUSB2PHY_PRIM_BCR] = { 0x1c000 }, + [GCC_QUSB2PHY_SEC_BCR] = { 0x1c004 }, + [GCC_SDCC1_BCR] = { 0x38000 }, + [GCC_SDCC2_BCR] = { 0x1e000 }, + [GCC_UFS_PHY_BCR] = { 0x45000 }, + [GCC_USB30_PRIM_BCR] = { 0x1a000 }, + [GCC_USB_PHY_CFG_AHB2PHY_BCR] = { 0x1d000 }, + [GCC_USB3PHY_PHY_PRIM_SP0_BCR] = { 0x1b008 }, + [GCC_USB3_PHY_PRIM_SP0_BCR] = { 0x1b000 }, + [GCC_VCODEC0_BCR] = { 0x58094 }, + [GCC_VENUS_BCR] = { 0x58078 }, + [GCC_VIDEO_INTERFACE_BCR] = { 0x6e000 }, +}; +#endif + static int qcom_reset_assert(struct reset_ctl *rst) { struct qcom_reset_priv *priv = dev_get_priv(rst->dev); -- 2.38.1