Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp395921pxm; Tue, 22 Feb 2022 13:13:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJx70h6by9shMK7lY2GXfljFw8wyDdn7t33q9Wo5KHG0siImTm0s367FDN/SOkaRMUfP6tjW X-Received: by 2002:a17:907:20dc:b0:6b7:ecde:4ca1 with SMTP id qq28-20020a17090720dc00b006b7ecde4ca1mr20617148ejb.102.1645564412996; Tue, 22 Feb 2022 13:13:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645564412; cv=none; d=google.com; s=arc-20160816; b=RAQVEYylWMLQnQabW6DCI92vOZXuLQW7x6U+0yfnXAxai/v/5NE9I1Go6YGHJClgs9 mUttCq5bQzN2wQVqm58V2J0YNTozQcnV6DSAucrwaLAVzqmdfsG/d9NfWPDYwYx6lrDx gf85zDSIv9mlZQ5buOomml7R9M6DWvAfeIxSW/HMzGtABk1voY4wZJ9m5aw3Lw3d+Izb +OsO+lIg1No9mMC+0RZkZvlthFsY/volJgX/w3JGnASSqFHNC3ugblAzBgVumXV5GeCL bcl+qceoDoz9bPh4LZZpSO9c5PFsaMoZA1eb04/N9GaFDMgFb5Y1870qED4BT+gUGg+4 oqBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=D1T61hXECkm88IOd5fRqL0xVvXcMyvW5hpiSi3r0QZ0=; b=mJtj99mThgsOltRMbFe82/1Fa3maz972KZ00vSzPEC4rwAQ9DgnzXlWdRmlVenQuQH nAExEWv09aGQVihjdTV8FuSYBcAWAzsltkufsPXjBjtpMaGbn4qpNo9HM1p7Nv2wIsuS 7kAL8Sa8afqd/xXboXroTx8iK46WiV+S/cTxva+BoEgq9f501s/5gCjesZMFwMJUu5x4 OOhPmXTIw/ZtnShzS7E/INkb0D9CX1NsqxVj9kSF1ud9l4lxTJcC9+j5qIIC8MqzIKy9 h6h2mQCGL6hyDFIXdbyywozabpUFLpupR/SCuN1p5nM9rwakrPsZ3J0ae5Y/Fnq9sNaB JTqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=g+uOFAUm; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f17si7637523ejf.35.2022.02.22.13.13.08; Tue, 22 Feb 2022 13:13:32 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=g+uOFAUm; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234523AbiBVRx7 (ORCPT + 99 others); Tue, 22 Feb 2022 12:53:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232629AbiBVRx7 (ORCPT ); Tue, 22 Feb 2022 12:53:59 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D16EC7EA5; Tue, 22 Feb 2022 09:53:33 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 3AEAFB80AD0; Tue, 22 Feb 2022 17:53:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BAD9DC340E8; Tue, 22 Feb 2022 17:53:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1645552410; bh=jFp2EWCacPijmI15Ry/vvjj2pFIm2szOpHGxI87OMqE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=g+uOFAUmn95WXJ+ZiuHrsXy3zqMDKcIael8TPpK1KsRputJYuUt9kWJLREhZaGsH+ oDvNK6wE9tsgmznsrL+Yp4F//HxVDr/QwoX4u+26EjmzHge/AyQL2ViA2soqpmMMxY /qDa8EYn5Hq3CQ8tEJ+O5//4UbGC3tgsgiZXv/HjPZbWjg/gcqbyxhw0qDlcgWX5rD bq+6kfco6swzCbGYuhroshBBm7q7xWTWr68sFLRTFtFyjC7LpGBKXsdMtZLhoIABOf Q/B4J9ISCQmSN/sj4XvvfLe8pP3uIppa2/s+wAFo0+hb8s/Cf0UXYXmolLNLW0m5hT HXG2tS506YrOg== Received: by pali.im (Postfix) id A15AFFDB; Tue, 22 Feb 2022 18:53:28 +0100 (CET) Date: Tue, 22 Feb 2022 18:53:28 +0100 From: Pali =?utf-8?B?Um9ow6Fy?= To: Marek =?utf-8?B?QmVow7pu?= Cc: Lorenzo Pieralisi , Bjorn Helgaas , Rob Herring , Andrew Lunn , Thomas Petazzoni , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Russell King , Gregory Clement , linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/6] dt-bindings: Add 'slot-power-limit-milliwatt' PCIe port property Message-ID: <20220222175328.cwrls2sziscguixe@pali> References: <20220222163158.1666-1-pali@kernel.org> <20220222163158.1666-4-pali@kernel.org> <20220222182415.50922b90@thinkpad> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220222182415.50922b90@thinkpad> User-Agent: NeoMutt/20180716 X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Tuesday 22 February 2022 18:24:15 Marek Behún wrote: > On Tue, 22 Feb 2022 17:31:55 +0100 > Pali Rohár wrote: > > > This property specifies slot power limit in mW unit. It is a form-factor > > and board specific value and must be initialized by hardware. > > > > Some PCIe controllers delegate this work to software to allow hardware > > flexibility and therefore this property basically specifies what should > > host bridge program into PCIe Slot Capabilities registers. > > > > The property needs to be specified in mW unit instead of the special format > > defined by Slot Capabilities (which encodes scaling factor or different > > unit). Host drivers should convert the value from mW to needed format. > > > > Signed-off-by: Pali Rohár > > Signed-off-by: Marek Behún > > This patch is not needed, the property already is described in > dtschema. But dtschema with this property is not included in kernel and this file is the only in-kernel documentation. So updating it makes sense.