Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1597207rdb; Mon, 8 Jan 2024 04:41:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IFJmbY38W0fxc60JUw8IYQD8VFFrAI9ym9D7tSIJGAKhKt5gVBWzdUHaK+19xidIP8O2IZo X-Received: by 2002:a05:6512:b9d:b0:50e:6c1d:5dec with SMTP id b29-20020a0565120b9d00b0050e6c1d5decmr1138895lfv.23.1704717660127; Mon, 08 Jan 2024 04:41:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704717660; cv=none; d=google.com; s=arc-20160816; b=K8DeJ0yu78fRHbrgXIF79wi9IBm3i35HPEUxDGsKIf1n9KRiKxLKgr0VuuX1tvqPks supet5eYLa8LJCYO4Y6S5Ro00F4lRJB4a1tCOgDlyyhHoXFSIyVY7lAu+frgR4R8ARsJ penrZPK3T3K7D3Bo7tm9bXdavQo17chjiXC+nU5ieZhMbfF0DlF7EiJj0R76dpdeNDeW ncpj3HfdJ8NZ9w9dJRnV/QAlymUZW9fC++FUco/wlBUyKpUUqDFyW2ToYLLDoUzWVthU sj6kj4ya9E3RY9hkfkZj8PXYRRRL34baI/kNhAC1ZXmyy7xPuivWLSDrWfzh7iEuZUI3 g/gQ== 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=htl20WivVJFeJAmwM5KBpciVYSbljcJAemXWAsEgyN4=; fh=xaSuZj1ajbxHn52v8M2SiBWQNwlImHP6rQYKWo0AWtU=; b=0OsoUM+u2YOUg9eNrKQNiwJnexfjfAqQKPMFm4zI5aeTHWnXBayUfbfbzPzSwLQN1X fQH7XcHScxSu+4AS3dNQRvs1JMrh4GOfMBiFfPapFzHBbgzzBXJ1oPCxAZ4vwmerq1CD OeeFhz78SX+nQ1SB+GgHLG1vmK5gMSD+8D/HOxAZqd6e6T9KyL0Qmx+DBeBkZA/dMOEA XCHqcyhgKctaF6QD+Eoh2zDTch/O4nivemTL5hyr1eT5RgRY2h5yGJYQ3xz1DfU7MUxO uLu1WblgS8UN4UaK3k3hahTAbmGnpVJXjn5AXTHex5Evpj4w+qpArZrbThdw0fKH/vDd fkxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="R8zcL/6l"; spf=pass (google.com: domain of linux-kernel+bounces-19533-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19533-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id u9-20020a509509000000b00556a77ae452si3224952eda.215.2024.01.08.04.40.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 04:41:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19533-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="R8zcL/6l"; spf=pass (google.com: domain of linux-kernel+bounces-19533-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19533-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 3F10C1F22424 for ; Mon, 8 Jan 2024 12:40:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7F0A45477C; Mon, 8 Jan 2024 12:32:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="R8zcL/6l" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) (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 4189E54677 for ; Mon, 8 Jan 2024 12:32:52 +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-ej1-f51.google.com with SMTP id a640c23a62f3a-a28d61ba65eso183217666b.3 for ; Mon, 08 Jan 2024 04:32:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704717170; x=1705321970; 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=htl20WivVJFeJAmwM5KBpciVYSbljcJAemXWAsEgyN4=; b=R8zcL/6lzyjaQYwEBD7zWnhnUffj9o2lP8II2DVFe/pEGeSl2p1/BWMT73+RdQwcT8 gaxhsZyc5C1BONXnwP4xp3ktAWBx49AZdWrcUre+GedzjWB9SbVFvS+g2WFLgtcInupl RIqTa/ckRFv8huV2QEACmr6w89vif2LwG/JuPzkn1mfknAOkZb5rpRg9wM0+A5PSk3gH b5JatJwzlj+RY24oLrNBRYjMg/AItpGUAiDuSxA9QSSXvGBXAg2LQrZBdnMmAmdGewjU zfw2KIXOLFdS55/3CVNPduXibVRlaJv4x+ZlzQzYZ7gUDjFgkwzc7BeI4JhmHclH2T2T 6TDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704717170; x=1705321970; 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=htl20WivVJFeJAmwM5KBpciVYSbljcJAemXWAsEgyN4=; b=SHTkEi+Gom3cKWtHkVFajb1RwYINtZ7ktA4+moPMfrLwymUX7bbPWRHOstYWjc4XeX Kr3KT9QhkIlb2OR1ruqhUYtVCY5BbHWhaADxxdm/SYSq2kqs/JY/gWCcnE/YEUVEUK4V kQyNIIix33cevEd+9eyfWsN48W2WvHtA4dObkLyzGCRH7GtlQH7IG0vHO8QHnXkNTQjh fnQtX4JjKo3I5jCqP8luWoBAyClKvI/qofJfgeyxSh/mt3+8kMZsvZEs+dqLF7aR9ywn rkTDHl+UwyS3+bkNDTRs1dGz7CWWy1/8LfhBtc8be7s+Kh1lPgq1feKWU9dRMR132Lka rHYw== X-Gm-Message-State: AOJu0YyGyIzEbBDUgfZHE/bQkQlhjMmEMZBk8UZEwOf5EX1Wzx7ZA0Ot O3hMd3f56QLlBLixQqoUO3O77WDGYn5G/N9x1LwuVbJOcYs= X-Received: by 2002:a17:906:a41a:b0:a26:9876:ae88 with SMTP id l26-20020a170906a41a00b00a269876ae88mr1024074ejz.73.1704717170374; Mon, 08 Jan 2024 04:32:50 -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.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 04:32:50 -0800 (PST) From: Konrad Dybcio Date: Mon, 08 Jan 2024 13:32:28 +0100 Subject: [PATCH 11/18] clk: qcom: gcc-sm8450: 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-11-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=943; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=U2C43YGEbbHUs3MA9UmdBCau40b0NyWHab0tGfzoC9s=; b=A0rKhsuGQQOZcx5LAU4J/wUenj8yoazvEda15d0QtsVG79rG6nzGGVk/I/qtfYpoN5kkA9f3K dZHoWC06ChrBZUjUkiweRsC3GELH3oRNazgR5apzZLciYG8MmCclcbl 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-sm8450.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/qcom/gcc-sm8450.c b/drivers/clk/qcom/gcc-sm8450.c index 563542982551..1825b3456dd0 100644 --- a/drivers/clk/qcom/gcc-sm8450.c +++ b/drivers/clk/qcom/gcc-sm8450.c @@ -3202,8 +3202,8 @@ static const struct qcom_reset_map gcc_sm8450_resets[] = { [GCC_USB3PHY_PHY_PRIM_BCR] = { 0x60004 }, [GCC_USB3PHY_PHY_SEC_BCR] = { 0x60010 }, [GCC_USB_PHY_CFG_AHB2PHY_BCR] = { 0x7a000 }, - [GCC_VIDEO_AXI0_CLK_ARES] = { 0x42018, 2 }, - [GCC_VIDEO_AXI1_CLK_ARES] = { 0x42020, 2 }, + [GCC_VIDEO_AXI0_CLK_ARES] = { .reg = 0x42018, .bit = 2, .udelay = 1000 }, + [GCC_VIDEO_AXI1_CLK_ARES] = { .reg = 0x42020, .bit = 2, .udelay = 1000 }, [GCC_VIDEO_BCR] = { 0x42000 }, }; -- 2.43.0