From patchwork Sun Feb 12 23:15:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1741192 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=IrTkwSZ5; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PFNn011Fzz23h0 for ; Mon, 13 Feb 2023 10:23:00 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id EA627858F8; Mon, 13 Feb 2023 00:19:58 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="IrTkwSZ5"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 32671857A9; Mon, 13 Feb 2023 00:17:55 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-io1-xd29.google.com (mail-io1-xd29.google.com [IPv6:2607:f8b0:4864:20::d29]) (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 7EB4985735 for ; Mon, 13 Feb 2023 00:17:40 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-io1-xd29.google.com with SMTP id j17so3935450ioa.9 for ; Sun, 12 Feb 2023 15:17:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; 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=cy2d1X98bLLjRXhR/AKTc38+9jyvvq0TxLFVLAm3/6g=; b=IrTkwSZ5WuYSFdtd+qsLnGqEHCeaCQe4Fg44fhqxHYqnymOS+HIQcAD6EUMlrUPXaQ Aub4qLga2Po1sl8eVaSXEvepB0ZqmLhBoFzukdOORBLPVTMO+sQB0+Y0sZgrY+VTkMzK CNtriUqmqdSFlQLf+0QTxqHMPD96W8tvQn5KQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=cy2d1X98bLLjRXhR/AKTc38+9jyvvq0TxLFVLAm3/6g=; b=3SoD8q3/HiWBlWmFJavZSoKYo3kr/VU4dgIHV86AmduhXcWDR1bUH2nZYjvC2XbsHh vSwB0ycr+/TQrvQXb5aG0huZUBW2mcIyfzuG8xnSGwP0sokgsXhhVcY34WDO8+UCZcbr xt1x91LuxD660q/lOt+ixVITHI1Qlb5tllhPa+TJmcQd7e70kYz2AklRIcfu9LaMG2PP q8vNvFAD+H3RWSqUyHiT+Rp0vpxhRbvs52YVnAEshkxSEUlFD2EJeL46dHyCKhU5LPQQ SZA//IOu2u//2HBb/g+Y7MPc7Ka0ePBkiKh/5ilQ5DrByBtehltoT359MBb4p2AHCI8u jLWw== X-Gm-Message-State: AO0yUKVCBw227DdmYAKNeJ3d9X162BjTai18QgcWD7lq/ASXQcrOYwFa lxCBvEDA5qiJtbQcwBUJC62NrrncuR9KsWt0 X-Google-Smtp-Source: AK7set9BEmxHhgiQLZgNEL2fVGhOxjnLK2ng4iYf5IQqDZIqv8w357uJTBVewMcVHZHuRgU+J3D/gg== X-Received: by 2002:a6b:4a12:0:b0:715:ba8c:3b11 with SMTP id w18-20020a6b4a12000000b00715ba8c3b11mr19255464iob.14.1676243859884; Sun, 12 Feb 2023 15:17:39 -0800 (PST) Received: from sjg1.roam.corp.google.com (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id n16-20020a6b8b10000000b006dfbd35e995sm3627849iod.21.2023.02.12.15.17.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Feb 2023 15:17:39 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass , Jeffy Chen , Kever Yang , Philipp Tomsich , huang lin Subject: [PATCH v3 32/95] rockchip: Add a Kconfig for SPL_RESET_ROCKCHIP Date: Sun, 12 Feb 2023 16:15:35 -0700 Message-Id: <20230212231638.1134219-33-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.581.gbfd45094c4-goog In-Reply-To: <20230212231638.1134219-1-sjg@chromium.org> References: <20230212231638.1134219-1-sjg@chromium.org> MIME-Version: 1.0 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.6 at phobos.denx.de X-Virus-Status: Clean This is implicitly used in the source and seems useful, so add it. Signed-off-by: Simon Glass --- (no changes since v1) drivers/reset/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig index e4039d74744..e2affe20e34 100644 --- a/drivers/reset/Kconfig +++ b/drivers/reset/Kconfig @@ -99,6 +99,10 @@ config RESET_ROCKCHIP though is that some reset signals, like I2C or MISC reset multiple devices. +config SPL_RESET_ROCKCHIP + def_bool n # Reset controller driver for Rockchip SoCs (SPL) + depends on SPL_DM_RESET && ARCH_ROCKCHIP && SPL_CLK + config RESET_HSDK bool "Synopsys HSDK Reset Driver" depends on DM_RESET && TARGET_HSDK