Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp975375rbb; Sun, 25 Feb 2024 13:00:54 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV6Ca/n71k/MNhCHOuXFcylNupdYboFNJmDmndLLgSThLT0PGQCLeRBbBfa6L14XaZ+Fagbowq2v2jfcNNdOLCuW5pH91K4WdxVGWGr/Q== X-Google-Smtp-Source: AGHT+IEj9JTmTHh6IEZRqxXvKHZx3dK3FaSltRjwJKEI7feTBCgG1QSjbhecF4azJ+RNYH2QxYbv X-Received: by 2002:a05:6a20:6717:b0:1a0:f7d0:e680 with SMTP id q23-20020a056a20671700b001a0f7d0e680mr2205254pzh.5.1708894854390; Sun, 25 Feb 2024 13:00:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708894854; cv=pass; d=google.com; s=arc-20160816; b=CIKC0N7gg5bvFF3AttiV0XOntW2TZU6jq3akiT2yxzx1SscbgVbpw+prSQGffi05Re q1lBpfSvJrBnmKN7yvkm3BE/CPsDFo0LpVxXZmAS6mk7Bs7KBZzH4uZ5s+l1ZAWJMvcL KLKJk7q805/HWBOhyz8oo2jP848Jy0yVxSjfR4Su3t+JpYbrf6pit3UeHNO3oaIKYfRg OwRsjkSHIcSP5DMioVO4oh7qsEHpuSVnDG4CumIhYmm3en7zUQifVsjPCjZAvNuDLKbM V8j4zkthLVnT3hO1JwY34W+GLGuum4iGaCZMMcAol4w+UP7NjBTF1B04gjcbRO5KdjAa +kXQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=KqbMk46NxtU+fpvdDcQrXCuDM/dEl6vfrxJr2Yihlwg=; fh=PDQVsWwSfF+v5A01gCL1VyHHGoDfY3VEZ0app97gjuY=; b=cQg+d3Bv+rh+eT9Dive0hpSlwumcyYEV5Zh0jddfi64c09sBIyvWfSA9OIejoU3bpO d5jsc7TOoRIrITtsDeKkYn9WorvIt592h9VS7sKQxZPEAWqbS9QQ+zfcQgQ0D7WTHjSf O/uHKYL90muAl0ob9wN1Cio9C8uqn98zSqT0EmQsJbuelq9OAo/embOLO3WOz00oRe7v q3y8Vh4XQMfH2zCWK9O5w1t0B2BGYk3W9c1tf7tIDG3fPiji94ozeov+FhF/OFH8Z9Ux s8J/adFr06lUWQTipJUuaVgcFD1Ec6YXv+QpC4GoBqFjs4qTrVXbyjCtf0x5jAkT0Vdb jWgg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tksXgWRG; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-80293-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80293-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id a10-20020a630b4a000000b005dc6d16aba7si2542744pgl.344.2024.02.25.13.00.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 13:00:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80293-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tksXgWRG; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-80293-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80293-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id B679328257B for ; Sun, 25 Feb 2024 21:00:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5DAFC1B946; Sun, 25 Feb 2024 21:00:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="tksXgWRG" Received: from mail-yb1-f179.google.com (mail-yb1-f179.google.com [209.85.219.179]) (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 F07481B81B for ; Sun, 25 Feb 2024 21:00:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708894846; cv=none; b=GQYdcL0zJDEfLWg5GAbdovYxNnrVwdUE70xE6rUTqjiyQRegNXIUvcLW+2pXa8SbrBKMMy/VF04AKpyRPy4HGZolnhsmAzzXWVMITUTE9yUj6CsUAqu14ZK0GLOxgorItkUq+OxkrMkO8I0RD5Mgm3be4frC3ttUwRUjQ8E4KFs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708894846; c=relaxed/simple; bh=unlIYXL3BwizleLlMEBQGYNfHGKdQOyg0kKHZe9dPEY=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=E9cEC0oGe2s8ueeCGiBFEuOOQOt/j7pGF+ajYhEYdRlTFh0HrX0Y7ospodC6amlo0YunmeHiRBWJOJOPKK/i0QEwUS1qjK/5wt/Hy33M7TyHcTpiFNN+M0XT7jXT5PetK9s/+ZI2CQ0R0gKiP5E6TbnTXxnrQF0gdlpkp0rmvx8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=tksXgWRG; arc=none smtp.client-ip=209.85.219.179 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-yb1-f179.google.com with SMTP id 3f1490d57ef6-dc25e12cc63so1783707276.0 for ; Sun, 25 Feb 2024 13:00:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708894844; x=1709499644; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=KqbMk46NxtU+fpvdDcQrXCuDM/dEl6vfrxJr2Yihlwg=; b=tksXgWRGOsSgTIqcFZmmzJOxF6Cxkq8yU2hps6BDvX9wo48Kpt/PBHN0BdletCN8jG sloPCuUyKtPprdw4qZ6i7fUSRFg4p46dRxULw0UaQgDGEIBU+0YKG05Fqzhz5b9hh3Hm RZcrFL9iwC8OxCyQm/AXlywB8d+c0Vs9U4cWXaMCDbnz7OmiG9NlPkCWb5Z3R8igCfAs Zcy7Wbvm9l5KdlV9Uh7ABVFREOtyddOZlYHgITrssUaFMqsG3NtzaCYtoxHRgqvIcM+a WEY754Vi8kwv0gdT891lOQUn63yN7smvXA0hzUO1XBYQ868pBg4PSuI1jvmeUpG59dpa XFJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708894844; x=1709499644; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=KqbMk46NxtU+fpvdDcQrXCuDM/dEl6vfrxJr2Yihlwg=; b=QBoFdaWT8T9U2eg2qzuGnaDk8IOJ3Ty0Z5GaaqzoB8Sfh0LcTa6J25akMvZ03cDObg oFTNih7OKFDYVftosbYhFG8tDB7cmDxfQhBYFfw72UhSUEdnl7lJanxEZSnGgduQtJsz JvV+yNkikioh7lX/bHve+XE7cfFWjQN/dJurjv+RcXoy1cYbQIURySQy8qUc0rTg0cOH Ac6PJaHfsgttHK9jfj55bx6iorvQkrCaNR9upyQlDPD/s128qSBTaGmzzuLr1I94l8J/ Ng7xRR8xbZbCkcQ3cG0YtXnTkZD4uC66TM3zGXsq/Y9kCMY5i1Fc3FI7lP2hJwMsHz+T Iq9g== X-Forwarded-Encrypted: i=1; AJvYcCUVcR40fluBzEp3w0ceiKUPkZKmKvHpQvKQRVy3z006dULdRk99KKrOPkuVsh3QGDiuGULVMjULJpEo+gvo4Xj7MQgV9goAKKmeej4T X-Gm-Message-State: AOJu0YxO3rhtNe7/L0YM1eVS4ENVCxbf0dFnV5beriOmAa36/ly+O+Mk py/I4MexxHD5WXdmzmPn9EIygz7YGsCGEC2q2A21Q/+nsOPXDCQtn6oS5eWXs7uBOgdVIxj1LeA HaU1O+tKxbbNqcLnN9L4/U1BBtQuooTgE1oZk1g== X-Received: by 2002:a25:7e07:0:b0:dcd:a331:40ee with SMTP id z7-20020a257e07000000b00dcda33140eemr2928290ybc.14.1708894844066; Sun, 25 Feb 2024 13:00:44 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240225-gcc-ipq5018-register-fixes-v1-0-3c191404d9f0@gmail.com> <20240225-gcc-ipq5018-register-fixes-v1-3-3c191404d9f0@gmail.com> In-Reply-To: <20240225-gcc-ipq5018-register-fixes-v1-3-3c191404d9f0@gmail.com> From: Dmitry Baryshkov Date: Sun, 25 Feb 2024 23:00:33 +0200 Message-ID: Subject: Re: [PATCH 3/3] clk: qcom: gcc-ipq5018: fix register offset for GCC_UBI0_AXI_ARES reset To: Gabor Juhos Cc: Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Gokul Sriram Palanisamy , Varadarajan Narayanan , Sricharan Ramabadhran , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" On Sun, 25 Feb 2024 at 19:34, Gabor Juhos wrote: > > The current register offset used for the GCC_UBI0_AXI_ARES reset > seems wrong. Or at least, the downstream driver uses [1] the same > offset which is used for other the GCC_UBI0_*_ARES resets. > > Change the code to use the same offset used in the downstream > driver and also specify the reset bit explicitly to use the > same format as the followup entries. > > 1. https://git.codelinaro.org/clo/qsdk/oss/kernel/linux-ipq-5.4/-/blob/NHSS.QSDK.12.4.r4/drivers/clk/qcom/gcc-ipq5018.c?ref_type=heads#L3773 > > Fixes: e3fdbef1bab8 ("clk: qcom: Add Global Clock controller (GCC) driver for IPQ5018") > Signed-off-by: Gabor Juhos > --- > drivers/clk/qcom/gcc-ipq5018.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry