Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp401404rdb; Thu, 1 Feb 2024 11:44:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IEktd2uh9AY7gsoN984ShJ7+JkEivLseLtHifl1wLPUcSpifTv4O8J1DuiXzc3EanPvHXfU X-Received: by 2002:a05:6a21:3407:b0:19e:42df:a7f6 with SMTP id yn7-20020a056a21340700b0019e42dfa7f6mr2307931pzb.50.1706816650373; Thu, 01 Feb 2024 11:44:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706816650; cv=pass; d=google.com; s=arc-20160816; b=TWXfbvVDvQ4vnT0fi9qGXX2OCSDnUaVmXcA7frcYfwgdRPztR8/zEXGnvpgTMVzRb1 BrNmZ45IA0SV8dp9/Ga4DUBeqQgVqX2YEF/LlIzTnqEWRYl5WGR28GlojruSOnKsO+SZ HllFSOdbkzUVXFZvag5Cg4vku71xJ0ToLjY8HoY9fVOYm2vWVX5x0PR+W3XyTJAUhrAY gwy2e0yg+T3GUBs/km33Zv1qhNdCIl6V01DPZ6YGocbnHufB8Y0KeSN+UbU5FnXuP6XM OqhQ9zdHE8yHgupfKRhSP7yAQc/T2J3WjMLB2a8+Al6HOuzcgd2mt9/i2GqacSLO8ojA NVPw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=hoIj9II25PNIZhnmzc7SonBXWyc/dj/iIiU1Yyw7lNg=; fh=AWLwIoNg3Vu8NEUKpoAk08wVwIG5flUS2oh+7kqJEVk=; b=K/VwYm4Y/jNMEeI87E4XCSOTFywr/kgH97dJVzq6Lr469AixiOfAFGfvBkJKLmw+fh UTFN04e3OtW82D90APeYiV6FMy7Gnxe3unWTEPAej95EvEjZJbcgkU6XdjFtNtSFgYTX 9lUEnkmUJNYTuwfOYAfPNk6SS1GEAdkjGKxKLqyfLDAgYO3YpFTRHria9wV6GTD34Lp3 EFneczvxLI6Nuhh7eDUee6xItLmsx1HN1wqCKL8vBYJ2i8szlR7545bybhhLyAJBui85 pAnxmBOdoUe02/lJMZDeCniwiVphBLeSs9HQu0VhyWK00BGvTl4TITKukwamc7vIHlNq Yu5g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=P5MbKPCK; 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-48751-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48751-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCXtP22+dP9pikU5/4LCTKA3xCVQCUWL1KX0EceNRDph4EJnmRt45moCTF662AB1gEWLAq1mCVNQEWK4AJROhqro+NwWNGK3eLJgBIoVlg== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id cj10-20020a056a00298a00b006dbbe733262si181985pfb.72.2024.02.01.11.44.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 11:44:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48751-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=P5MbKPCK; 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-48751-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48751-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id F2B7FB29167 for ; Thu, 1 Feb 2024 19:16:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EF2B48526E; Thu, 1 Feb 2024 19:16:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="P5MbKPCK" Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) (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 6B80085269 for ; Thu, 1 Feb 2024 19:16:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706815001; cv=none; b=tcVnhB1F+xTqUw7ecJV63aku2iH2uFHep0pAlE6UHYvrkYh/4tHZOjzXHk1z1pK+yec+6YXHfwEb6wsXZaHstW8WB7WEPT983sqvnSRl97oGnIFpeV52AowINTx8RKfbN9hI+6Qh3ypiIF0m12i7PV4oIApbevptWxfYD5zJAQA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706815001; c=relaxed/simple; bh=kCVD0saoCqvrEJIo4DNt3BTAT44dbOXhla37LPlqcr8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=geNt5jqv1invJB2ByipOxLlyd2aL6dDMX80hY1gR/po5/PrTcfQjeLn8zk6nsl1B5HCuQEgy6st5m1hXxsP/ovJ4SMw9X5LPSjlVBnacdK+j26+592KZrMwMbsOEiLqjeLM4OUdpnGtEuCnRq43eTQdVx/n1SlRd+21Sdxk9Ogw= 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=P5MbKPCK; arc=none smtp.client-ip=209.85.167.53 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-lf1-f53.google.com with SMTP id 2adb3069b0e04-511207d62b6so2027364e87.1 for ; Thu, 01 Feb 2024 11:16:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706814997; x=1707419797; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=hoIj9II25PNIZhnmzc7SonBXWyc/dj/iIiU1Yyw7lNg=; b=P5MbKPCKqp/XOeT9fUHeIG8w8Stm62lesgLH15AIL6SJLA91lObpfL3a7PRdFSOzeH WKcsz3LjxLSZWNy/bQATSZqjKOSrT0P670PtB7UyH5nFJx+Tw7Gob9RK6U8MofpBxa88 qsFF9OHRaRVfGFC1BiIK7HbAK3VnfgUzLAC1e+5u3fxWGhzhu1aKkBNfG26EDcGdXIeW Tl//Mij44VaDQpTJD9RY3HfpTcehOopL9RVTKj28Hq2YTqcH5+5fajYA4FfiKATX68lF cZ/2s4QkrjKPxHY1JHL+Dj1V1vYII/oKHyrHFv5Vdj7ikiwvoyLm+f8Z28hZ4SDTrrce COwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706814997; x=1707419797; h=content-transfer-encoding:in-reply-to:autocrypt: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=hoIj9II25PNIZhnmzc7SonBXWyc/dj/iIiU1Yyw7lNg=; b=ipM5D+QUhGkUweAiH1cUp3ZGwIoraHAC7ThCmP5LcIkCTtX9vSOYOBvA7MkON0jssD QgaZgRvhrRLhL5fCaay+GFkv5R6OcoOocTOpML65h8l05iT21nqo1k3+QHOVRDWVCBls 3zp/XM1YUFB9GMvxLeEs8c3yZWBvLg9m6DP4UEZAjvs0r53r+yHEHP6lFCHjCkzPCJFU tIgbx5vat9LAEnZ+TtdFd8iaA3CjTb28LxuAhYJiYHMbT6LDrh3GfbfjqLGgcqienSDE VcG9Xnt9/2sx/PkcsQHdRQ9Ukp3siT+0mWfkSGJDGWI/xa8p67M+2UplcHMxXFh1UTW1 8Pzg== X-Gm-Message-State: AOJu0YxSjB6HAlTTIv8v9xJgPig8yUmiw5RmXxqMcRdg/L6Avkotb2rn uxUgP9ojw86uaLuKUUWjsDAwtoc8mRLiVzcXO4PIiVSKNhL5R+lrbFpz1wtY68E= X-Received: by 2002:a05:6512:1143:b0:511:f41:dff7 with SMTP id m3-20020a056512114300b005110f41dff7mr2139593lfg.56.1706814997345; Thu, 01 Feb 2024 11:16:37 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCX7jmPIWKpaz+qEeXcpuehLATCNsmJ943Q2ct/ectfJgLVmPtBuch2JIUSL/trV8bxg7LDYhQRzBRAfWXb7We/ajO3Kca7JJshUQEwY5EFAFx2xL65jn6dEAZMH1UTZ6psmZwEvzdeamDpSvFXSzF+8y4FUtI/7auQYxj6koyd32KsU4JzdOEQ1aQhPR+ACKVhq874oyh2TcxDyXCVOp7tyjKdHQd852702+r5DPUHCxRehnU6SzCFQRcqrheVd+u+EAvos8y/YHFp0m7dJpmYXhrjeBdtKMIAuxEoCV9q95U54l+AG2WSQSM1jjVXqkP3awKQfkhbuNN+JnW1ZEyDAFuE4AMPJikQ2rWuFprsKvajs19vfDwC2lxYJT4FY3pupz58nyvdhWfBAUKOg2qOB+oSrKYOTk8c1vnrt5jr42y3cVvi1vy6Acdh828NBtawpg0QRP+XT9Syhv/cLNtDqt8bMnE7bU4X3+9BfXkc4g7y4U/HtA8IXiAOLDAdh Received: from [192.168.159.104] (178235179129.dynamic-4-waw-k-1-3-0.vectranet.pl. [178.235.179.129]) by smtp.gmail.com with ESMTPSA id vk8-20020a170907cbc800b00a36f8fdeb98sm23088ejc.59.2024.02.01.11.16.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Feb 2024 11:16:36 -0800 (PST) Message-ID: Date: Thu, 1 Feb 2024 20:16:34 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 02/17] phy: qcom-qmp-ufs: Switch to devm_clk_bulk_get_all() API Content-Language: en-US To: Manivannan Sadhasivam , Andy Gross , Bjorn Andersson , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, quic_cang@quicinc.com References: <20240131-ufs-phy-clock-v3-0-58a49d2f4605@linaro.org> <20240131-ufs-phy-clock-v3-2-58a49d2f4605@linaro.org> From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6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Z1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <20240131-ufs-phy-clock-v3-2-58a49d2f4605@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 31.01.2024 08:07, Manivannan Sadhasivam wrote: > Device drivers should just rely on the clocks provided by the devicetree > and enable/disable them based on the requirement. There is no need to > validate the clocks provided by devicetree in the driver. That's the job > of DT schema. > > So let's switch to devm_clk_bulk_get_all() API that just gets the clocks > provided by devicetree and remove hardcoded clocks info. > > Signed-off-by: Manivannan Sadhasivam > --- Amazing, thanks Reviewed-by: Konrad Dybcio Konrad