Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp945420rdb; Tue, 19 Sep 2023 15:29:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHXk91XyrIqGvYEO3ap0WEv9OIO7avPpL7Mh5j372gAnFCvFGzrY2/FLywCp1M0M0reiekr X-Received: by 2002:a17:90b:1e02:b0:269:18f5:683e with SMTP id pg2-20020a17090b1e0200b0026918f5683emr999326pjb.3.1695162562164; Tue, 19 Sep 2023 15:29:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695162562; cv=none; d=google.com; s=arc-20160816; b=Ip8JDwMDCpn4cTKRp/Win6JtdWFbwpV/5XLOZsjWM+Go5vqN+rWtfYOLUvBDUwjj10 +UvqpKQryoHKyEv9DIyA123nVA2SC/7VZWa86HJWamuFUFjNOPpKWc+cuF8jxbuhMZca aQ4/jG4zVqVUZEgxC4TyNfWBu+xZ5J+T8589pGrXD8/zXAg0cq6ReAOqMxVm4C2m68A8 k5rrH1DFfhZmuCQHig33fOho+OR5SyxKoXUUcuRJ+ppCGZESl31wS7t/XBmBEFKg1tNd coEK84P33VIfvAJWKx9JoHh9Soos9hBFD+FdCstngkLIO7b8HRWZptddLXa26reZJgjf Lm6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=7/FEvYyM2EeHOdSQPD/GJAyv/Ms6P3+0S37WW9XjZPo=; fh=7lQrA5fNLEwA7HqTT4IvPw1mMx4ZmX4puMIXsTBmpFs=; b=LG/b8vqiXgx4GJBlpGtx7hG70lQkrOrMA8Ojk68CVZMYUmMlkfmm7ZGBWqGDhBpe3L XJRO64OLVegHu96kZeTAPhc+r2L7R3fukfyCh6wJJtuJFzpStr6hoSXheiOeAqwdX3se q0Iw2IJWvOrUepyAaqhiH74JU4M08u9xcUfe441LDxaTQ5oSShdKrk7dPqmeXLiJ69/7 STkIPXD1u1QsioQq5B+uwTMUT+PIPts8n5XmZBFvZMHDetab0m4O00cHDwHDOgscbS6c 9k4smq2BAxFr7e0bIO7V4Bf6kNHQI1Z0K/1xf9cgUnQA/kfQGkH77krBvErSXWYJ89TV 6Ixg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=O+3Ad4fa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id a21-20020a17090abe1500b0027198088485si156511pjs.45.2023.09.19.15.29.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 15:29:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=O+3Ad4fa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id C4EC48073DC7; Tue, 19 Sep 2023 07:15:36 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232651AbjISOPa (ORCPT + 99 others); Tue, 19 Sep 2023 10:15:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232547AbjISOP3 (ORCPT ); Tue, 19 Sep 2023 10:15:29 -0400 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E46811A for ; Tue, 19 Sep 2023 07:15:23 -0700 (PDT) Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-532addba879so2294843a12.0 for ; Tue, 19 Sep 2023 07:15:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1695132921; x=1695737721; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=7/FEvYyM2EeHOdSQPD/GJAyv/Ms6P3+0S37WW9XjZPo=; b=O+3Ad4fa08zRS54wwdex6+WfmwQAINFDJnWMNtpJJu2ryPGomfFcClbOVNyZGKFk6Y JvzlhpL3FocsTEBudBIYl7nbSNA0DNmB5Ig6IkqlFh5gh8WWGOFR58facN3IgJ8q9IOS XwmdmtweUitk3E2e8rAVdxDDb357JIDkQvbyI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695132921; x=1695737721; h=content-transfer-encoding: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=7/FEvYyM2EeHOdSQPD/GJAyv/Ms6P3+0S37WW9XjZPo=; b=X1Z76tQ0JBL328PmAPM5u+jlev0BEh+qbF6+hYGW+1AOIvTl+8g9OAd2G18J12FbVG mvfIAX7dFjqJK/QNOzceakDuDev1yN7uHhqnPvrdO5CG5dssS1Rajb/16FeksIGaxo9M h2zwqWUC32BE92jwh8sIJ5h1v5BODcFJf1tzdcZkIHDpNfW1YaSDqnFt9pSMTobrxmO3 Pp5G1GCjjQvGYEcAn0K2qViXb4W1B83Mx69beQhrXuXC6GuJjtKE5QEtfuVwLWMU6Xsx 7GQ9u/feeDMxUNqEuU4Dp878Uklos3CpbRJko0Q3CbJl7UfUASDVRgrf9boOMqfl4oiC rYYw== X-Gm-Message-State: AOJu0YxahYknMyBA2ROtAibiwX5p9Fk3vigav4eEXuOcCaiLAmwLtY+Q iN6vtV3jQD3ig02tn9iidRVA64tkwaUo6sr6ZStKOnF5 X-Received: by 2002:a05:6402:348e:b0:529:d147:e9f3 with SMTP id v14-20020a056402348e00b00529d147e9f3mr4221395edc.5.1695132921337; Tue, 19 Sep 2023 07:15:21 -0700 (PDT) Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com. [209.85.128.43]) by smtp.gmail.com with ESMTPSA id t13-20020aa7d70d000000b0052328d4268asm7312926edq.81.2023.09.19.07.15.20 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 19 Sep 2023 07:15:20 -0700 (PDT) Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-4009fdc224dso68775e9.1 for ; Tue, 19 Sep 2023 07:15:20 -0700 (PDT) X-Received: by 2002:a05:600c:3d0b:b0:3fe:f32f:c57f with SMTP id bh11-20020a05600c3d0b00b003fef32fc57fmr110023wmb.0.1695132919977; Tue, 19 Sep 2023 07:15:19 -0700 (PDT) MIME-Version: 1.0 References: <20230919-fp5-initial-v2-0-14bb7cedadf5@fairphone.com> <20230919-fp5-initial-v2-2-14bb7cedadf5@fairphone.com> In-Reply-To: <20230919-fp5-initial-v2-2-14bb7cedadf5@fairphone.com> From: Doug Anderson Date: Tue, 19 Sep 2023 07:15:02 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 2/7] nvmem: qfprom: Mark core clk as optional To: Luca Weiss Cc: cros-qcom-dts-watchers@chromium.org, Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Srinivas Kandagatla , Linus Walleij , "Rafael J. Wysocki" , Viresh Kumar , ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-pm@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 pete.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 (pete.vger.email [0.0.0.0]); Tue, 19 Sep 2023 07:15:37 -0700 (PDT) Hi, On Tue, Sep 19, 2023 at 5:46=E2=80=AFAM Luca Weiss wrote: > > On some platforms like sc7280 on non-ChromeOS devices the core clock > cannot be touched by Linux so we cannot provide it. Mark it as optional > as accessing qfprom for reading works without it but we still prohibit > writing if we cannot provide the clock. > > Signed-off-by: Luca Weiss > --- > drivers/nvmem/qfprom.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Reviewed-by: Douglas Anderson