Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp206508rda; Sat, 21 Oct 2023 04:58:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEmxNwIjwW8Zbdwb3P79bITIf67tL027aK3FET5XrFvH2ZdCAVCMNp48ix1LYtCvv4sxOfF X-Received: by 2002:a17:902:e801:b0:1c9:d143:e9e with SMTP id u1-20020a170902e80100b001c9d1430e9emr4394918plg.18.1697889494034; Sat, 21 Oct 2023 04:58:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697889494; cv=none; d=google.com; s=arc-20160816; b=EYEKK1O3YE2QsP9GUpBRESQO+X79yQDCDUDEgEIbqJZBcwjNhwifcNf9HLrKyY2jNj CJEBmuiHmTXI287qECWwGOHauCgOt0xDcQDt2lLkTtxnReyV2NLeKDR4LYJdJaxM62sp m/jYZ/XSNl7EoopAAcnZJx77JudeGU+lcWrdwpNO5o5eOLagxoPHrlvf9g/yLDwVRSuj oMicvO0ex6mFJ4p+ekOBZCVdCCWaXgAG1dXIIYcAWG3f8ekmvl4AoXgqkyDiBfT5vtT0 hWuoYyzam1JM5nFlx5l8O/NUpuD08hi+q9QZ0gWuBC391EaxAru1H1J400CbvRfM+rRR FynQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=FxNz9djPi2ZFZLmpxAIXb8X9Wg3dZxfYM3EqSIAWSDg=; fh=KIIc5/qS3nLUULpP0CHxPLXI0bq/yzCvGV28Cad7y9w=; b=P2wXjI71j9CSPJlmTesQhC5Dsq5jRsh1YdQcOVbvLq8u8OtqHZevFO5nG7TfoHC36u 9vVPofzdGC77vjA97p9Tu99oxdp60kLY7zeV9jLHfiFeJNpC/LdoZgUu+T0yS++LtVbo dyGdTHzeEzg/cazXnV5/AbP1Up70tVAmCTt3ScfdTRGI96ifKp+TEfWd5MKSYaN3c8kQ Tq3PaWafXk+3v1WGY9F3bbKPs/gPxRYFOZWrlLCp8V1rSWRKkC6yWb1u0CHTRQe+yUtU sVHwtjQ7KTbUyzPhdCXEFVKzJTSuzc3JI8nAb6U1agwLATrbpyn19fnvzuR1ujX/JcL9 YCzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=g2wq64GT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id e13-20020a170902d38d00b001c74d844254si3412784pld.101.2023.10.21.04.58.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Oct 2023 04:58:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=g2wq64GT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id C55FE8183ED9; Sat, 21 Oct 2023 04:58:11 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231126AbjJUL5c (ORCPT + 99 others); Sat, 21 Oct 2023 07:57:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230177AbjJUL5b (ORCPT ); Sat, 21 Oct 2023 07:57:31 -0400 Received: from mail-oi1-x230.google.com (mail-oi1-x230.google.com [IPv6:2607:f8b0:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84692D51; Sat, 21 Oct 2023 04:57:29 -0700 (PDT) Received: by mail-oi1-x230.google.com with SMTP id 5614622812f47-3b2ec9a79bdso1261356b6e.3; Sat, 21 Oct 2023 04:57:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697889449; x=1698494249; 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=FxNz9djPi2ZFZLmpxAIXb8X9Wg3dZxfYM3EqSIAWSDg=; b=g2wq64GTFlf+UyXvUUFB9kuU+pZT6wzK6Pap1BkVrO4ySfk+Jb07lTia+G9yU4dO1z /MMOSzEDUUSFfNTrc7XkoaJ5J0zcsF/U3wbp9s+2WMosCYKGvQiJvEYouQFQ8oFPUuMl SV2otip1MSjEZTIweOOzlUk/y6LjDnty5XD9S1G+8ZqWq0jSpaVua66SRockqb6w0kLX S4tgpcmW+5EWBN9+GziZ8iw36cXFMt0Pl+1azsewGSxsYCsGU4bpfZ7MHQynGrYuBiB9 ci/d8yi1U5ilUKcMwnjai/NJCqBwkSDAlCoafEXop2fqz0PYvRNvJH/cCpD5iYS6m7+j S9Pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697889449; x=1698494249; 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=FxNz9djPi2ZFZLmpxAIXb8X9Wg3dZxfYM3EqSIAWSDg=; b=aSMCREsOWMiXVw7wl3wAYVWjMvyhI8q4+L8miPTlHYbU4UaGsE0LcIHT7ZNgtmMCDV qUvXxP+PlGeiH2+ooo7Rpdl7ItwJxZfuC7JqTax4f5RdSvuBJ/XhF+QyHfIUUE6uMiNj f8tUXK8TG34E91nT0CkFutfxXAPnRql3M7JTehqtl09o7a5HOs0+9PsqlnfhfD0cKjjR sm1Z1wrUOTypOirmE8KAW2gCXUuOHzWVxNPeOG0z0FR5QCz2GiFkBxBZMWhq26V50/tz fZiG9ssFu6bGAJscD9cMRD4FLeyKOGbalZpug/UI1/vpDBClesfjgH0U7w3E9E+R9cWZ o1dg== X-Gm-Message-State: AOJu0Yxowp8z0ODbeAessnMHK8BFwYRD0f4S8HE28PAtKmb0CMnV81vY +81c4+bxW9WRKjDFHASuSPYvyWYy2TfNw8BzXK4= X-Received: by 2002:a05:6808:12:b0:3ae:a81:55ba with SMTP id u18-20020a056808001200b003ae0a8155bamr4812229oic.22.1697889448746; Sat, 21 Oct 2023 04:57:28 -0700 (PDT) MIME-Version: 1.0 References: <20231015162114.976202-1-robimarko@gmail.com> <8dce62b2-562c-4e00-840b-68e1cc865972@quicinc.com> In-Reply-To: From: Robert Marko Date: Sat, 21 Oct 2023 13:57:17 +0200 Message-ID: Subject: Re: [PATCH] clk: qcom: gcc-ipq6018: add QUP6 I2C clock To: Kathiravan Thirumoorthy Cc: Konrad Dybcio , agross@kernel.org, andersson@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email 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 (lipwig.vger.email [0.0.0.0]); Sat, 21 Oct 2023 04:58:11 -0700 (PDT) On Fri, 20 Oct 2023 at 08:40, Kathiravan Thirumoorthy wrote: > > > On 10/19/2023 7:53 PM, Robert Marko wrote: > > On Thu, 19 Oct 2023 at 08:46, Kathiravan Thirumoorthy > > wrote: > >> > >> On 10/19/2023 1:59 AM, Konrad Dybcio wrote: > >>> > >>> On 10/15/23 18:20, Robert Marko wrote: > >>>> QUP6 I2C clock is listed in the dt bindings but it was never included in > >>>> the GCC driver. > >>>> So lets add support for it, its intentionally marked to never be > >>>> disabled > >>>> as its somehow affecting DVFS and if disabled it sometimes crashes the > >>>> board. > >>>> > >>>> Signed-off-by: Robert Marko > >>>> --- > >>> Bjorn, would you be able to get an idea of what could be sitting > >>> on that bus? > >>> > >>> Or maybe the IPQ folks could know? > >>> > >> Konrad / Robert, > >> > >> Similar to IPQ9574, RPM needs this clock to communicate with PMIC over > >> I2C interface. Discussion happened here[1] is pretty much applicable to > >> IPQ6018 as well. Based on previous experience, we may need to document > >> the reason for CLK_IGNORE_UNUSED in driver as well. Nevertheless, > >> > >> Reviewed-by: Kathiravan Thirumoorthy > > Thanks for the explanation, it makes sense as I used to control the > > MP5496 directly > > via I2C. > > > > Is it possible to disable RPM so it doesn't conflict and just use the > > full MP5496 driver instead? > > I find the RPM quite limiting as there is no way to actually retrieve > > the current-voltage. > > > Robert, checked with the team and currently we don't have any option to > disable the RPM as such. Thanks for checking. BTW, is there any information you could share on the USB GDSC-s? I tried converting them to GDSC-s like IPQ8074 has, but it seems that they have different features. It would be great to use proper GSDC support instead of manually setting bits during GCC probe. Regards, Robert > > > > > > Regards, > > Robert > >> [1] > >> https://lore.kernel.org/linux-arm-msm/2852fc37-284f-6534-f163-45b37b153db1@quicinc.com/ > >> > >> > >>> Konrad