Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp810232iog; Wed, 15 Jun 2022 12:52:56 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v866F1FHELhCSia8wk22D/ExP3Pru0zfi+bLw6FrCtO+TCm6WyJIqNwqe0RzrhYrHd4BS/ X-Received: by 2002:a05:6a02:11a:b0:3fe:ab7:32fb with SMTP id bg26-20020a056a02011a00b003fe0ab732fbmr1208573pgb.543.1655322775712; Wed, 15 Jun 2022 12:52:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655322775; cv=none; d=google.com; s=arc-20160816; b=gxFH4btOmo/0m9p25U+CmxW6ih11XK5OsU4jx7fQAvOt12V9/YzYbqKMBUqDfDn4L0 KnpvRR/9t4Q+B925lIxaTtQ77Qq3aZSHu6J+qnh7Pxph5DbOHizEi++BLX8PqJ9RubRr r0ENm9BCIJfKs2aocJimXxAaPoVdYPzqB4QQv1wjANJ8Mf3ihjpwLP1blrejk71QpZ98 j2CDEKRPwk1hsRP6XK9+KozrBTMuuGL8gbFYLp95UwMqOfL4/hu7B3Nzru69om1aPwA+ ahnqqbDNiNJWaqCPAA+nkmdyl8IZTlIG0Cyzn3Vt7G8tCwTVYN2rBoXvrWMK1NgN0iTT lz+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=gJZ35XMlWABSEvjyqknjgbGYwqTWYnqQ9D+CRtxCbDo=; b=d2wEzHyj1udEMVQTYA4aO4EMM+3aOrZXuIYG+9Qe1qo2NPNxUEOWoICqVeNzcC5S9u 0w9Zfly4/5+8046lZzP7E3peynSFX7foysSxFpp7inwoSx79/tlBCmiIXehvI+1S2Doi zYHCwJeEK/Ph/GUtpLFAwbRTbcftbMIUCdPx9QaXzV1vjFmVVF5imbBnkBJ11miEFY/7 opccl16B9hM7i1izOt7/s6BzUd5yVeugWwvHeLAAny9NlhKh3vbz2JKUpuP6BYSgZARj 1CUVybKtdxHHiYTBDJ6rJKmQZy0zCr2y1/CKjCDVduQw4xeGuBGCM6MCE7W8GSF/uPG6 Ooyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eGacAflh; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h13-20020a056a00170d00b00518984386ebsi137822pfc.37.2022.06.15.12.52.43; Wed, 15 Jun 2022 12:52:55 -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=@kernel.org header.s=k20201202 header.b=eGacAflh; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350127AbiFOTmB (ORCPT + 99 others); Wed, 15 Jun 2022 15:42:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346484AbiFOTl7 (ORCPT ); Wed, 15 Jun 2022 15:41:59 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C88754BC0; Wed, 15 Jun 2022 12:41:58 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1632C61004; Wed, 15 Jun 2022 19:41:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6C09AC341DE; Wed, 15 Jun 2022 19:41:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655322117; bh=gJZ35XMlWABSEvjyqknjgbGYwqTWYnqQ9D+CRtxCbDo=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=eGacAflhSw7FUfA/QOlZwCIN4UzdgStp+BYNTcHwhWpR6jO+xotKCFphK7aLThJu6 V6RmpuZgUuuuQqfANxYtF2jheLIg6aBn0ei4efRYTd0A3myxh7rvJyKYgep5ITCrCx ZG9IYmj5Qm1j0M2Y+2gTUNsu3oEy4W2Brln+NLW3yhxDYYSoqafVlbhKY4cNuEwBDv Nt+Ztn8vEeNYE1MBUl/wn1aEoK0SkM9wcXhipQex/wW2ekJJ7fEhRCw9/rLYxUEPxP BWmZkCjGGgHn6wqg/UeB9B7Mpu2xzP5ChZD4Obv83rZZoW7xYO/BrNDgNNNCf1XBHG urZzVytc0IYuQ== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20220612145955.385787-2-nikita@trvn.ru> References: <20220612145955.385787-1-nikita@trvn.ru> <20220612145955.385787-2-nikita@trvn.ru> Subject: Re: [PATCH v2 1/4] clk: qcom: clk-rcg2: Fail Duty-Cycle configuration if MND divider is not enabled. From: Stephen Boyd Cc: bjorn.andersson@linaro.org, agross@kernel.org, tdas@codeaurora.org, joonwoop@codeaurora.org, svarbanov@mm-sol.com, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Nikita Travkin To: Nikita Travkin , linus.walleij@linaro.org, mturquette@baylibre.com Date: Wed, 15 Jun 2022 12:41:55 -0700 User-Agent: alot/0.10 Message-Id: <20220615194157.6C09AC341DE@smtp.kernel.org> X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Quoting Nikita Travkin (2022-06-12 07:59:52) > In cases when MND is not enabled (e.g. when only Half Integer Divider is > used), setting D registers makes no effect. >=20 > Fail instead of making ineffective write. >=20 > Fixes: 7f891faf596e ("clk: qcom: clk-rcg2: Add support for duty-cycle for= RCG") > Signed-off-by: Nikita Travkin > --- Reviewed-by: Stephen Boyd