Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4863922rdh; Wed, 29 Nov 2023 13:00:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IG5CFkHhokCa/tnXXi/XK6y8NOEvTywgQjwr5R1MK7pS3ZG7QvyyOHQRUcBdefAyhvdYz5h X-Received: by 2002:a05:6a20:1588:b0:18c:2685:57fa with SMTP id h8-20020a056a20158800b0018c268557famr20687835pzj.33.1701291602236; Wed, 29 Nov 2023 13:00:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701291601; cv=none; d=google.com; s=arc-20160816; b=a4+ileB2fOhuJ8jZlnFxnMad5ze8g+yyxYFYJD13yCrAujZtlc/OU6NbxFRMLamCVW sSLWLCmS8HC6T9a/VzjVv5YqOF7mA9Nxa/kjUs0eItxs8eXZnFQBu1fvy3jq1ISt70lS 55fpYUHiN/muiJlA77k4WQ94kJKAsPB9lUMcK82JmOaMIaVTSSKqaxbuTKCXSqPpbJEq XSPeOplawQJYnKrewqxOmls0cFjdinwOVDR+aaID4OA08ydcMo/C/kQl22Y/WsB/m0Um OzWX4qMZZSENx35hoQHfRGLfGVEw2EZEwS04Qyx7kK0+IUxXuUVfgymYNJKk/ezFRve7 qESg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=FzQQfOp27wgqk+mvGXV7TAJbuPcrusmFmRn6zVsoj4c=; fh=VhbWsRud4GV7bIz2keUK/vEXXISYdyjfER4rZNkdSqY=; b=C0sljwEYxjw/PTCNbpvFXhqcZOmsq6oWMYbSOTXx08G5+9T1K0h9EJaBcAshhp018n EiCVjUrUgwCijX6mGfRU/3eHoGTYAh1gNsxonKd6l53uYhCS4zC53q06npB+TcY9P9UR XUNkOTvU6ukNOp8q2dCr1/8D3u7h56+kIUBpREkqwm/e6CJXcDFUS4NLyykfgEa5Helo QQj2/1Oarun/JH+5Zn8TxF+4/MVbP84JYW8ZxIRW1XmBse2anl5QEQYhf5gzz6qyw3/p kZkiuvaC3PDL7NSj8iF1h+v7is0IqD00E1pi0a9xJ1GLKQjH9OfHFCjGGHmRS+rx2IHS 241w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fCMh6vsP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id i34-20020a635422000000b005c215b317e9si14589776pgb.478.2023.11.29.13.00.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 13:00:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fCMh6vsP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 8AE7E802DA9A; Wed, 29 Nov 2023 12:59:59 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234146AbjK2U7t (ORCPT + 99 others); Wed, 29 Nov 2023 15:59:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233852AbjK2U7s (ORCPT ); Wed, 29 Nov 2023 15:59:48 -0500 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23B83D69 for ; Wed, 29 Nov 2023 12:59:54 -0800 (PST) Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-40b2fa4ec5eso1514005e9.2 for ; Wed, 29 Nov 2023 12:59:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701291592; x=1701896392; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=FzQQfOp27wgqk+mvGXV7TAJbuPcrusmFmRn6zVsoj4c=; b=fCMh6vsPNm/I17BBfoq0wveOG2abeVkXoSFKIpjIJCbUKMtYEQrPlVqqqGOnheiqK5 v6kHPHC2e8fQewcK1aJ6bqWdel9R60PVktOlJFMEvucxIsdk09drbberBgJVT1qZpddt AJ4EDXHR/QHOIj7G9UJk6hnmSmgI5204eQMnxtbo33SbblrdId6L3gSaZ10/RRSUSRXL fXdez2ex4ze/6whhycFZa80Aj1jyWYn4y1Tp5UQKaj7LYHSjhvB3wPRp4NQjO9AfnRz6 tXlXGGktRw233ZavCIlVXZprd1EXXOCqoagorpfU6k5b2d7HKI+En1Th853pOpwtPmdn ciWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701291592; x=1701896392; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=FzQQfOp27wgqk+mvGXV7TAJbuPcrusmFmRn6zVsoj4c=; b=Kc0I/CfNx+jQ09Skifm0znp64xjFqjo7asxmwvH0WDXVCzcxfuWLk8va3o+czkqzw9 /UP7m6PBTh2m6f2PqvJJVMITcRB2CxPQQLFw4o2jWEf9JuAihEhQZFupzaUhEZvgrEN9 IBgoTDlVeXYr1wSgxqD+br7XxRxFf87KdpBh2HsWilkSPJSaJJ1ifq9xFI/ucaDbI6wM gDsJe+MUk3i8QMUw5cTAR7m0DTjNTo1nUPjEb6KFqcqpfQqe/o9bvtK2gVVkXibBN3ct oeuI+RXigvPm4QUHK8u00e8SLw7eGRTXaf9f/iWW3goxhv2LzOtBYIlNLGFzyEZIJlaT Ju3g== X-Gm-Message-State: AOJu0YxmD3fzKkpiWD87YqbqsyJ8n9Juk02vj/tJ20kagbTj3PsYfHR/ DcNF3fklmeGsKjKfBO/JkPgmsA== X-Received: by 2002:a5d:6343:0:b0:32f:a5af:99ca with SMTP id b3-20020a5d6343000000b0032fa5af99camr13822722wrw.69.1701291592610; Wed, 29 Nov 2023 12:59:52 -0800 (PST) Received: from [192.168.100.102] ([37.228.218.3]) by smtp.gmail.com with ESMTPSA id hg11-20020a05600c538b00b0040b48690c49sm3410823wmb.6.2023.11.29.12.59.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Nov 2023 12:59:51 -0800 (PST) Message-ID: Date: Wed, 29 Nov 2023 20:59:50 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 02/15] clk: qcom: Use qcom_branch_set_clk_en() Content-Language: en-US To: Konrad Dybcio , Bjorn Andersson , Andy Gross , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <20230717-topic-branch_aon_cleanup-v2-0-2a583460ef26@linaro.org> <20230717-topic-branch_aon_cleanup-v2-2-2a583460ef26@linaro.org> From: Bryan O'Donoghue In-Reply-To: <20230717-topic-branch_aon_cleanup-v2-2-2a583460ef26@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 29 Nov 2023 13:00:00 -0800 (PST) On 29/11/2023 18:59, Konrad Dybcio wrote: > Instead of magically poking at the bit0 of branch clocks' CBCR, use > the newly introduced helper. > > Signed-off-by: Konrad Dybcio > --- > - /* > - * Keep clocks always enabled: > - * cam_cc_gdsc_clk > - * cam_cc_sleep_clk > - */ > - regmap_update_bits(regmap, 0x1419c, BIT(0), BIT(0)); > - regmap_update_bits(regmap, 0x142cc, BIT(0), BIT(0)); > + qcom_branch_set_clk_en(regmap, 0x1419c); /* CAM_CC_GDSC_CLK */ > + qcom_branch_set_clk_en(regmap, 0x142cc); /* CAM_CC_SLEEP_CLK */ This all looks functionally correct to me, wondering what your motivation for changing the comment is though. Anyway, IDK that matters. Reviewed-by: Bryan O'Donoghue