Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1597469rdb; Mon, 8 Jan 2024 04:41:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IGjlH1swp9o6iDO/QWVZqmwDy0bT4HET41475y+1WpDBO0vYdMNWtv8gx+2zwOKbZN+UUbz X-Received: by 2002:a05:622a:345:b0:429:7e8f:e7ab with SMTP id r5-20020a05622a034500b004297e8fe7abmr5318652qtw.17.1704717691687; Mon, 08 Jan 2024 04:41:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704717691; cv=none; d=google.com; s=arc-20160816; b=rXr2yJCqbDw31SB78xM59KYA5h4KtlYMwmdcxex/cjGLcmtkdNlbf5hm4pvegHKP0d XVI0jHk69KKZDWujVw9lzFWej+5XTGGhW9A1Pj+Qp2dfEgZfiqCd18U79Z2DBeikFml2 n/Gcdc6rPv8rR0bBzfncBlh64tBtcWxyITN5UUSF9AEsqTbGqQd/qiaOqO26RgSoy2Pc 8PGPHFbmKAzRTQVfqfyqe7yrh81t791OJyNkwUgoQ+X3dBqBicfkgZi2NLBfGf2SOXPR gmLrq/mb5KT798bV4suNJwjIRb7ySSG0PrIvh8hrTlK96N0OPBhp0TpvlzbqZWY+PM5W Eo5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=O2jFsk8miEcGzRv0SVas60MpuNUWFzdzdQXxQ+W+fTI=; fh=xaSuZj1ajbxHn52v8M2SiBWQNwlImHP6rQYKWo0AWtU=; b=EV/TMWheM10hzgpeTmwjat1fCCmFoPSQoX4X2ddVY7B3LHIGawURE7KoXkPnFCKH0q VOmAI6D15tbjK5gBVbStsjgIyZa/kVfBJ9mPKui/XRbcrSxnGjLUH8qQMkBQgNQmj/8G RjeuPGl/vvLLiAPTi/iW8AZNDbR2kAmMNJIfH35YkSkL0jEWpbkEfjDPbvE1ut0+WJgW oEpwkncn7gcxmGJQGGedWGJJt+54aaoLfj3vzqXQhAZB2dVS26MvwlA7WsYO8Dl2erao smL4mR9VcW3a5w/WyLr5JLR+/J6C1mF+57Te7vttjXQw00Sq9X6HHyHK0kEtqd8AP8DI yz+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=n6AE8bUR; spf=pass (google.com: domain of linux-kernel+bounces-19535-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19535-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d17-20020a05622a101100b0042803178a9dsi7659699qte.188.2024.01.08.04.41.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 04:41:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19535-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=n6AE8bUR; spf=pass (google.com: domain of linux-kernel+bounces-19535-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19535-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 6B3A21C2231D for ; Mon, 8 Jan 2024 12:41:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D1CED54FA3; Mon, 8 Jan 2024 12:32:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="n6AE8bUR" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9857F54BF9 for ; Mon, 8 Jan 2024 12:32:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-554fe147ddeso1978094a12.3 for ; Mon, 08 Jan 2024 04:32:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704717174; x=1705321974; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=O2jFsk8miEcGzRv0SVas60MpuNUWFzdzdQXxQ+W+fTI=; b=n6AE8bURieBlyr6+kAOYhpIhlhCJqx1tV4EUIAl9CaXQ6UrgNJtGz+T7t+9I2BVKos yfrb0Ak3+8wKlHt5KjmxCQXSQmYOdAU0HPEW/i1nwqMEZb4jFiZx1GR2LW1bMAw0BIQw MWdOFiAmu9B9oNFGrlcJ8my2M0V712AjJr0EK2yTYQk2AJWJLKhO3kXCs2PukeEEtBPL r+a4at7aK4n5+GCBVLsXjYGXtE/Pfq1HS3O26bygIvdfSDMPwDBJZExQPEdQp/1MGxpI +f2qlD3tfKvmQ4qfOnMdo5F/Vw4F06bI8Q2kin77K96j9ymLLNS36lOgrHdrzd777HPK G9kA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704717174; x=1705321974; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=O2jFsk8miEcGzRv0SVas60MpuNUWFzdzdQXxQ+W+fTI=; b=nJcq2upeuLctzBJlETGGnh7Dr+fw5BxupzZi9qh1UPqZJ+5La3xUxFsSxkYkWGN7RA 9zQuzalbq3rTliLi+e9i/SUK3uC10PHkGo5GqTY1ZJiJoOqDEEowTyuBk5OdEhgaK/wU LheUHwDrWOTn28yMr7DVqoBUF4drSZWS8lJjH4WDI9UZtxA2Wyl1MnBekeUDH+AHKE0L npFVjPdgH+H3wxnuLxqzfdnjJdcwjTyiYMIx5NdyzEoIxhAsouBdLycr+gT6dBV0lsQI TpoiP57vOowRcq/gqyjLqUHDCRTgwUwJ72W6lwE2JxFZf56ce6JKGELK3k6CxdZfPKTw JZ4Q== X-Gm-Message-State: AOJu0Yx5n5BQ9woj+EXIvT8EGRKDtK9F2bVw5br0G/yMTbEFeUY+fhSQ vtv64c0ieSbx6sF2Z37bauyE8tYRJRRxGqZ62YJiHKMUdrE= X-Received: by 2002:a17:907:9444:b0:a28:9d0b:e5b7 with SMTP id dl4-20020a170907944400b00a289d0be5b7mr968685ejc.128.1704717173869; Mon, 08 Jan 2024 04:32:53 -0800 (PST) Received: from [10.167.154.1] (178235179081.dynamic-4-waw-k-1-3-0.vectranet.pl. [178.235.179.81]) by smtp.gmail.com with ESMTPSA id bs18-20020a170906d1d200b00a2808ee8ab1sm3892978ejb.150.2024.01.08.04.32.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 04:32:53 -0800 (PST) From: Konrad Dybcio Date: Mon, 08 Jan 2024 13:32:30 +0100 Subject: [PATCH 13/18] clk: qcom: gcc-sm8650: Set delay for Venus CLK resets Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240105-topic-venus_reset-v1-13-981c7a624855@linaro.org> References: <20240105-topic-venus_reset-v1-0-981c7a624855@linaro.org> In-Reply-To: <20240105-topic-venus_reset-v1-0-981c7a624855@linaro.org> To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Philipp Zabel Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Bryan O'Donoghue , Dikshita Agarwal , Vikash Garodia , Konrad Dybcio , Manivannan Sadhasivam X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1704717148; l=936; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=dafvtEWyd3ePEI1J3OalDI7TTuNFzH14q4snLe82PJg=; b=NI87ryvzv//26vUgahL2fypxMM744QQUuJQUfZUCGcZmzgWGN6CDcXr3QEvKfQuvcpUunnYTc 4Mv3h4PQDSCDfaHI/kaVMhPgTpKgl/5gErEXGmuFmOHKNBB5GBu05K6 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Some Venus resets may require more time when toggling. Describe that. Signed-off-by: Konrad Dybcio --- drivers/clk/qcom/gcc-sm8650.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/qcom/gcc-sm8650.c b/drivers/clk/qcom/gcc-sm8650.c index 9174dd82308c..63becb03cd90 100644 --- a/drivers/clk/qcom/gcc-sm8650.c +++ b/drivers/clk/qcom/gcc-sm8650.c @@ -3734,8 +3734,8 @@ static const struct qcom_reset_map gcc_sm8650_resets[] = { [GCC_USB3_PHY_SEC_BCR] = { 0x5000c }, [GCC_USB3PHY_PHY_PRIM_BCR] = { 0x50004 }, [GCC_USB3PHY_PHY_SEC_BCR] = { 0x50010 }, - [GCC_VIDEO_AXI0_CLK_ARES] = { 0x32018, 2 }, - [GCC_VIDEO_AXI1_CLK_ARES] = { 0x32024, 2 }, + [GCC_VIDEO_AXI0_CLK_ARES] = { .reg = 0x32018, .bit = 2, .udelay = 1000 }, + [GCC_VIDEO_AXI1_CLK_ARES] = { .reg = 0x32024, .bit = 2, .udelay = 1000 }, [GCC_VIDEO_BCR] = { 0x32000 }, }; -- 2.43.0