From patchwork Wed Jul 26 13:26:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 12649 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a985:0:b0:3e4:2afc:c1 with SMTP id t5csp416824vqo; Wed, 26 Jul 2023 06:51:19 -0700 (PDT) X-Google-Smtp-Source: APBJJlFNZ4Bi7CtU8pRcj4Rs32Nl0/yYAy8WMq/BaYmnYxYHr5Fl++G8Bgqb/skHvCwjhbbeU5+g X-Received: by 2002:a17:903:48d:b0:1b9:cb27:7f43 with SMTP id jj13-20020a170903048d00b001b9cb277f43mr1654351plb.43.1690379479574; Wed, 26 Jul 2023 06:51:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690379479; cv=none; d=google.com; s=arc-20160816; b=a5XJBqIWNaXdvejOwnFRYqEmycgzzQZq/6JqJIm2KnB/J57bV2zhBX5mTVHjaWNHE8 FEbcWUdUNRPp5eJEsP9zcdRXpmHkXnpAD1nBBbA3q8407Ps28uKAvIqQfUpqPsQyNBwl HSPEakmRk96x+3eedZXKt+gJQkJ3F3gmDg5lIvmqaqP8+Oj+8Dw3WXX24t1BDbBiHHN6 17Iccibf0zDqjALjnoRDWCBIIwiG2Oy9YXtfp91ONQsA38zmyGUp2HH1BVdo48vH/9bZ +WEA5S+HGgeio65ccGtS3xpWO8Jh8+3Y0s4/uTnOYiTERQxX4Q9QRcsWzXh7wga2dBJ/ MGqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=/9yUKgO7zKJYMgcYFPgPnTgcVnPYS9vz4JlLdoJUgN4=; fh=aPH9evBIXksq47QVc8sbcWRLKV1PEuKX/gfq3oF1plI=; b=eKOrmYH9Uprsus74D0ep0ice3Xt8jZe1bpQOIfrRJaTuXzY4LNzL7LH4ujukCB5zTt CoLr8WCvZJ2elRtT9/e/no3+ekn+RKQH8Gsjp0Gxalsdtc8hzfwGEW8PVNLSHF0WNp0z VrSp97FWBTppYEvYtOixo+i/k7gMx7oOevpFxXsxoZxmdZAltJDE0REi4G7+tfS2xZmU Uepq2Ip+vGPwgeCJsUsfWpf7hcvGWwIooWFHlsk+sc1SbbqYhHREwJvJ6mc16yunhCnE 8RW3xIb7quS3YaRHNo7+U+FdXtlUiZ3zJSp4qiwpmqU3jse89qupXI/aESmOAkPMGeHh 1y6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Njl9CrBg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ij29-20020a170902ab5d00b001b8a39d1738si8949797plb.500.2023.07.26.06.51.03; Wed, 26 Jul 2023 06:51:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Njl9CrBg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234061AbjGZN02 (ORCPT + 99 others); Wed, 26 Jul 2023 09:26:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233856AbjGZN00 (ORCPT ); Wed, 26 Jul 2023 09:26:26 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91D70128 for ; Wed, 26 Jul 2023 06:26:24 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-4fba8f2197bso10765929e87.3 for ; Wed, 26 Jul 2023 06:26:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690377982; x=1690982782; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=/9yUKgO7zKJYMgcYFPgPnTgcVnPYS9vz4JlLdoJUgN4=; b=Njl9CrBgAO7Rr5VrsMHnMrLdagHNqOSSpMGhNbK8LKS4tfwFBD9OvRLp9binQG7L20 hVBdZjBJPj4yxpYiIzPriS2EzbHTvgEYS/g0Xz/84L4G0FB4y3jlRi6AoAFos0/TfRJn Cs3MKkkGXJ2S1F4gDF9bAk6HtFYiDBEvP6rDX5N5KyeghMiWEXziT4fVQkG5LxDKggTn UBGxfZgQMOi5I3QVvRcQJLqLb6wlWs/sHd0HHG8rOadkAnotSsJ0c9aB1TGwFcJt8OyO 8XUo6P/1U1AxMpb4h6LyXtB1gqSoMwqAUZ/KOM8x3Tnvt6RAchcmQCkYnADW+Yoz8/6i k6BA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690377982; x=1690982782; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/9yUKgO7zKJYMgcYFPgPnTgcVnPYS9vz4JlLdoJUgN4=; b=T0roHLV5OfXvDrEhibB4D0pQ/xg95klZ5CgdevOY0GmBC/AiF0yMdXk3Jkbym3k24Y LDKT2LYLJGMtPphm32zjTkIKPsgZ3HyLU4aJQx2+ut2ZCx9oEvnBCIhVZN5keJsQr1w8 bbOTEVwKpcyY9aGj2F6Jt1pF62+pbbIA0XJcidunzO69QPPpOhLar++xuTKmjJpPPGjf 5720Jh78szPj9mvC3ieKUoW5ZBbSuXRW0a3GFZzNe1aO/u44cPx9csl0OcVJP26ukcFU g6VbAzeKZLdxCj1IudEv+SqCLZ5SjBevRIN1lT/fOBh/sI/6Bea19M3UtxSDKUDrUvxJ pmBw== X-Gm-Message-State: ABy/qLaaS1fOyqEqpXT1icPUWZAHlobUX1yTVyyOqEDB9EXK7pMpOxDk vMV0Jp5+ZduMUfte9bqkQRUXfJZR4BIuHI6nTzlkUg== X-Received: by 2002:a05:6512:3594:b0:4fc:4f3e:9cbf with SMTP id m20-20020a056512359400b004fc4f3e9cbfmr1266932lfr.50.1690377982608; Wed, 26 Jul 2023 06:26:22 -0700 (PDT) Received: from [192.168.1.101] (abyl59.neoplus.adsl.tpnet.pl. [83.9.31.59]) by smtp.gmail.com with ESMTPSA id q20-20020ac24a74000000b004fe08e7dfbdsm742265lfp.44.2023.07.26.06.26.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jul 2023 06:26:21 -0700 (PDT) From: Konrad Dybcio Subject: [PATCH 0/2] Fix up qcom reset controller Date: Wed, 26 Jul 2023 15:26:18 +0200 Message-Id: <20230726-topic-qcom_reset-v1-0-92de6d3e4c7c@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAPoewWQC/x2N0QqDMAwAf0XyvEBXxbr9yhijZtkMuFYTNwTx3 y17vIPjNjBWYYNrtYHyT0xyKnA+VUBDTG9GeRYG73ztgm9xyZMQzpQ/D2XjBZumCxdydReohZL 10Rh7jYmGEqbvOBY5Kb9k/X9u930/AO6P51t3AAAA To: Bjorn Andersson , Andy Gross , Michael Turquette , Stephen Boyd , Mike Turquette Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Stephen Boyd , Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1690377980; l=616; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=JJt+Fx5O226avAjx6F2X4Jc0LTcX/nKTaSByt/k1+Xs=; b=p6z11iaQFY/T+4Sub7vRp5W9X18CTYVuqf2wMgbG/XwvZZ+woM4lZYAXdoqqVueQ9EHfoB1qx F1LjJg46SiLBEeFR12vFBE3esrs16e0zlHW3R2hpLzg57ITeLydE3rT X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772491353602079062 X-GMAIL-MSGID: 1772491353602079062 Let the toggle include a bigger delay and make sure it's using the correct function to achieve that. Signed-off-by: Konrad Dybcio --- Konrad Dybcio (2): clk: qcom: reset: Increase max reset delay clk: qcom: reset: Use the correct type of sleep/delay based on length drivers/clk/qcom/reset.c | 8 +++++++- drivers/clk/qcom/reset.h | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) --- base-commit: 0ba5d07205771c50789fd9063950aa75e7f1183f change-id: 20230726-topic-qcom_reset-44879c0387c6 Best regards,