Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp862817rwb; Tue, 27 Sep 2022 05:44:39 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7TYW0UjrKN0OKuvJlz2PqS8xwPaPl7i99JlLarm9fAgdOIyKYXAMPm8rGdbsYrFfNp5jBV X-Received: by 2002:a17:90b:374f:b0:205:e255:e8de with SMTP id ne15-20020a17090b374f00b00205e255e8demr1410971pjb.8.1664282679123; Tue, 27 Sep 2022 05:44:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664282679; cv=none; d=google.com; s=arc-20160816; b=rJ1PWyJXH1jVYqQCNgh/hqSpEPNr3VxQUizEWhknJWbJlAKpAGggvGlSKyqgliuYCv v0eyZ0p8XzFr7kfhzWRW0iT0mYpHEnNkkk02RbZkzxHHHIx814NqocdPRhPOoDuP/akC tjALXSVXy+WvrNIbpQsApfFeurw+CzY8Hwq/gdiSEmTPN+DYnP8peTNZW4F20ixjluBp iXHANxXwtnXJjh/DYFEy5cMVxTW1SI9EudHAvhLB17CFrIRJyEGkJUOCYl6XM51Pqnmi e1eNXbZWkRmKb27YogjOx/W4qdOnaStiBh1HJeqQvxCp+7sTzBLIjMZW690mDMcH56I2 afBA== 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=+GQR5IFQqnjRQiDNFQ5CKn2gZiB0uB/yzawzfbvOf+Y=; b=d8L7G2gssvBH8zBU6x5nOM17Tlhu+nBA17T7ohS8TgCXeeDDg/kOAnrqxypUjHmAkS Lx07ZpGAmvjpV7iuboy0GhgxHsuKaNKabLWbgmgylKut4G4YLtl8njTRzWPd3RECjz+I MNeBvdMdi6YT0oXTvwqfUmf73pY5jyAxge6QcN8IPVVmBcTQaPixR/PHE3Nwpldi7l2i +bIuKxqH2KSMemU4+nmBXaMaZCvDAGilESMD4PbUmb9nzDuDwyVHhYMneiT1txnED2J4 P0p+F6OLp7B/wxU3UCRpeh8K2Fk08G6E7Kdz8Gz+o17JSceEw63hINAj/7exvLz3tSR9 u6Gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ERKBfibg; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ot8-20020a17090b3b4800b001fe0682652esi1960510pjb.184.2022.09.27.05.44.26; Tue, 27 Sep 2022 05:44:39 -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=@linaro.org header.s=google header.b=ERKBfibg; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231509AbiI0LmJ (ORCPT + 99 others); Tue, 27 Sep 2022 07:42:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230042AbiI0LmG (ORCPT ); Tue, 27 Sep 2022 07:42:06 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3D9833E3D for ; Tue, 27 Sep 2022 04:42:04 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id a3so15251418lfk.9 for ; Tue, 27 Sep 2022 04:42:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=+GQR5IFQqnjRQiDNFQ5CKn2gZiB0uB/yzawzfbvOf+Y=; b=ERKBfibgVYEQo5koYh5J5HJX9uYGKCU1paa596nwxyhbfn3zJuyOAJjsDKMw7p0nXj LIiMOwL5jIgHG22SrVBwGF/K8RC2g627oUJ0C46F1ldvwAISxRb9FIr0mDFRZomdbfP1 frK/dtgsDL7dHTSssHvROExcYzaNXM8ihH1vQwyo/dtPAwGYTMBEJsYsD7WuFhpys8ti s3VSUu2ClAzesrmPC6bM6SXoxgJvzl1xgXROY+5ZkB59hPc/IVEAe6uZYz7xpDafDYYh UzMDocNxxGXLq4uy8+M9MgPQslBd949hFHG4cmQ/tyMDgXiMOEDLShaSQI7Wcmsuf8Q/ l/bQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=+GQR5IFQqnjRQiDNFQ5CKn2gZiB0uB/yzawzfbvOf+Y=; b=i/9AE0jReIXJ6QKR+w2inss/R3ZinX+z98Y50xUwm4SMi6zMKDHdmbXfj8XeNGrR5Y +HcWQviNS/riaI3/UEhZ94rK3Wi+Rt25W+3QROEMUP7b1QJGeC/IbSJ4uW2uoBKUL2lg Wk/H3CfkMigGbQYuEMf9oa+huxIe8pXWKd7fHTaqaMBUDYT9GuQsUBkfVkjZYmClEWjA 5Cxid4UInY6wxzYRuUONisNGBIV59O/HZIu+e1UmiLoOfk3LCGAiyVEGK51UEOZFp340 sjBQsmK2JT1Czsp7fHPyye0GTUKVI8EXxZ0LxivYV13TfAFbYF4Sl1yCc0udAbHIC2ph bjLA== X-Gm-Message-State: ACrzQf00k7I+a9QDcvBWKDRllpKkUKp6+1p8QTGgvSH7RFLTUQhNy+C5 tJVuATISlY5SqeR1twPC7Py2Uw== X-Received: by 2002:a05:6512:10d3:b0:499:cce2:37a8 with SMTP id k19-20020a05651210d300b00499cce237a8mr10585691lfg.169.1664278923222; Tue, 27 Sep 2022 04:42:03 -0700 (PDT) Received: from [192.168.0.21] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id bj37-20020a2eaaa5000000b0026be23f24efsm141075ljb.18.2022.09.27.04.42.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Sep 2022 04:42:02 -0700 (PDT) Message-ID: <90185f20-f91a-54b9-bb46-d186419b5169@linaro.org> Date: Tue, 27 Sep 2022 13:42:00 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Subject: Re: [PATCH] dt-bindings: firmware: document Qualcomm SM6375 SCM Content-Language: en-US To: Guru Das Srinagesh Cc: Konrad Dybcio , ~postmarketos/upstreaming@lists.sr.ht, martin.botka@somainline.org, angelogioacchino.delregno@somainline.org, marijn.suijten@somainline.org, jamipkettunen@somainline.org, Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Robert Marko , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220921001020.55307-1-konrad.dybcio@somainline.org> <95fb2bfb-6eb8-012d-88f8-c739d229ef70@linaro.org> <8faecd72-0cfd-18eb-d07a-53b3a23ed05a@somainline.org> <20220924000932.GA1450@quicinc.com> <20220926165904.GA17938@quicinc.com> From: Krzysztof Kozlowski In-Reply-To: <20220926165904.GA17938@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 26/09/2022 18:59, Guru Das Srinagesh wrote: > On Sep 24 2022 10:17, Krzysztof Kozlowski wrote: >> On 24/09/2022 02:09, Guru Das Srinagesh wrote: >>> On Sep 21 2022 20:43, Konrad Dybcio wrote: >>>> Does it? I did not define this compatible in the driver, so it does >>>> not consume any clocks. >>> >>> The bindings should describe only those compatibles that the driver supports - >>> that is, both the driver and its bindings should be in sync. >> >> That's not entirely true. Bindings describe the hardware in the most >> complete way we can. Not the driver. Whether driver supports something >> or not, is not relevant here, except that we don't want to document >> non-existing things or stuff out of tree. > > Is this only applicable to compatibles or device tree properties in general? This applies to everything. > >>> >>> Could you please update the driver with this compatible as well? Let's not >>> merge this change without that first. >> >> This could be even merged without change in the driver. However it's not >> the case here as driver already supports it, so your request is fulfilled. > > My concern is that if somebody specifies a compatible/device tree property that > the driver doesn't support, their expectations from adding that change will not > be met. In addition to having the bindings describe HW in full, I think the > driver should also be in sync with it for this reason. As Rob answered, it might be difficult to keep all drivers in all operating systems, bootloaders and firmware components to be in sync. :) Best regards, Krzysztof