Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp222792iob; Mon, 2 May 2022 17:41:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzqzeaoeZMUv/xGbrySfbFJEnreyVoA6yq7ukiNINSqldBH00APSuzAzC8cWL5n/xLZltPt X-Received: by 2002:a17:90b:350d:b0:1dc:6680:6f1d with SMTP id ls13-20020a17090b350d00b001dc66806f1dmr1958637pjb.27.1651538487021; Mon, 02 May 2022 17:41:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651538487; cv=none; d=google.com; s=arc-20160816; b=xF8ImRi4KLcstYzWujjM3tD15LlJ69/p/BkyDTm5TktMTgUqXzMoNUmNUx/msvCLaw F9NNIEKlL4roheuixiEsPXYSfzYkbtvcUhxHtV+7fG3PILiNOkstEJaV8aOust6/XVrs BBUgcbbNxme/uc/IZs7IfknQviZAiQM7GVdCpQjtTFnIU2mjnGOMucbCBZq5Fp5X99ee DpZET1yq2xduk/EUPowGm3CDGxvzUHeUMAsKDxCLiDRAWIRV+nnJGl+j5fcNQOVgdZ1v WUGBCKYjBDcTx20R7m2qlKVDRpeqCxgYywEkpxm1KoC9a6i+8Yd68m/P2GgokehGib9u tC7g== 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=jDGt1toRucqj+cK6LtNSDQpKseZ2xT2PNfCkDdoqIXE=; b=izEbQ+g3/vF0h4f48HmEm38DdO7ymmrMwOH+BqN7Bf9eFgmPtMTJx5kwr0gvNKToHg qmKTCi5h3qSTWs7x1KiJW74QCMZxpp54CH3g7OHtgSof1qCMiTbhwWevP1PJw3HHTHRF Uk9qnQkyT/fAlNDp3UPT335qeF2OS5HF7nqzFSgDVGZ8AW4GIrwuhCw9qDliKt3NjyZu pbo3AFkWVuBahzTTxe9of3cP4ZrHr1va3i90HuoV+0MIGFrdmwDINgH3SGGWvBjHPs7z DSDudTsfri5AThKVaRNGeGN6hMuk+vlhaG2Pta7H+/C7Eh1SSRCTAx0T8xIG+J1gk52F fKJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=toBxE4V5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id lw7-20020a17090b180700b001dc19972e72si860102pjb.100.2022.05.02.17.41.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 17:41:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=toBxE4V5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6B40C483A9; Mon, 2 May 2022 17:31:42 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1387276AbiEBUWH (ORCPT + 99 others); Mon, 2 May 2022 16:22:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352110AbiEBUWF (ORCPT ); Mon, 2 May 2022 16:22:05 -0400 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45E80BF7E for ; Mon, 2 May 2022 13:18:35 -0700 (PDT) Received: by mail-ej1-x634.google.com with SMTP id y3so29737257ejo.12 for ; Mon, 02 May 2022 13:18:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=jDGt1toRucqj+cK6LtNSDQpKseZ2xT2PNfCkDdoqIXE=; b=toBxE4V5+mFB5bvYet/OhPmOhK4Dutdz6f3lm5zbVetmSHCSlhSLvBVNiz8TAwVzXN aePuCPComJN8lKFroxUwx9Htebi/8fzhYomJ9Gsa/PNEG64fr9+oaVlGQlZivSwaGgdl 5rY2/534CchDq7QF40I+nmtdZDV9nWUoHPb+G9bhMWCijpAzr4kuz/gJ62/Lg07Ijqmh hIqlhmZbE4q1LXe//1okxmwS4XpZFKQXb+lPF0FUCG/uIEHQ9ALZuS9DXRy8L8v5K3Zi yRiNkbam2C3XZ3Zn1P0+JsqSo2Sx9dDlRTl605GlmE3dHi5CmXdlSjIRp4vOKbV9TV9A DRHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=jDGt1toRucqj+cK6LtNSDQpKseZ2xT2PNfCkDdoqIXE=; b=jrmOUhVK2/kN6VQgtlVu6LwKnwwpZ/LDQ5+uZ2G/VCQB2kbq2w3hIzXGcYzhRhHX2/ gknRsvuDYDyFqder9xDbiGK2joKDSrhEmQYJpqXA3ozeykqf9QhhvXAplBfN+1zBzPlV WrgqDROuBEuZ5k0By1fc3s8/OXsa1EHrGe22zqxnG5ftTn9ZL8BHziWYUZxS3PAAAKMt r+DEM5A12AA49W9btl6svBMgfcPY4JaZUSq4dIRHYG9Rf9jxPe9weUr+mW2RE3hs9nl/ 5rUvgFXW0PEvPoaqrMjK8fhtDv7wcrspSj6iWXTCqen7zRvqNgP1s15H58ue93qyAWX8 RDVw== X-Gm-Message-State: AOAM530Mlsz3XiteJG6fxwCGbuVIdLIdOks5OoFemNjAGJSwyx2KNwMc Z7FpI8qbFtRmqIPUo7oCBGKWSQ== X-Received: by 2002:a17:907:c0d:b0:6f3:ed89:d9c with SMTP id ga13-20020a1709070c0d00b006f3ed890d9cmr12526499ejc.502.1651522713790; Mon, 02 May 2022 13:18:33 -0700 (PDT) Received: from [192.168.0.197] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id d12-20020a50fb0c000000b0042617ba6399sm7002590edq.35.2022.05.02.13.18.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 02 May 2022 13:18:33 -0700 (PDT) Message-ID: Date: Mon, 2 May 2022 22:18:31 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH v2 3/3] dt-bindings: arm: msm: Convert kpss-gcc driver Documentation to yaml Content-Language: en-US To: Ansuel Smith Cc: Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Michael Turquette , Stephen Boyd , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org References: <20220430060125.9124-1-ansuelsmth@gmail.com> <20220430060125.9124-4-ansuelsmth@gmail.com> <626d4cbf.1c69fb81.e6965.76b4@mx.google.com> <0711b822-506b-7b90-6b63-50c5c0ce4f6e@linaro.org> <626fb971.1c69fb81.fcab0.5f71@mx.google.com> From: Krzysztof Kozlowski In-Reply-To: <626fb971.1c69fb81.fcab0.5f71@mx.google.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, 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 On 02/05/2022 12:40, Ansuel Smith wrote: > > The idea is that you put the clk name in 'clock-output-names' and the > driver needs to have support for it (and set the clk name based on the > name defined in the dts) > > This driver doesn't have support for it and is actually hardcoded. > So you are right and I should just drop it. > > But now another question... Since #clock-cells was added as a > requirement for clock-output-names, should I drop also that? > > In theory #clock-cells should always be declared for clock providers, is > it right to add it in the conversion commit or I should put this change > in another commit? (since it's now an addition and now something required > to fix a bot warning) These are not the best bindings to convert, if you are not into the qcom DTS and drivers. :) It looks like the bindings were added to match current Linux implementation and in this implementation the device is not used in DTS as a clock provider (even though it registers a clock) but as a syscon. I am not even sure if it is used as a clock provider outside of DTS (through using a fixed clock name in some clock consumer). Probably this should be made either a proper clock controller or something stripped down to the point matching current usage (accepting the fact that bindings are incomplete). Anyway your choice should be made according to how this device and its driver fit to entire system. IOW, it's not a simple binding conversion and you should not just convert it to make dtbs_check happy. Best regards, Krzysztof