Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp124925pxm; Tue, 22 Feb 2022 18:32:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJy+BbcTjY6vKU/t1CFJ5AjvasQ+dLuOt+hqkdrMVys+qik2qz9IYCZY+kbJAn6m9awD6xvQ X-Received: by 2002:aa7:d3d9:0:b0:410:7a81:c0cf with SMTP id o25-20020aa7d3d9000000b004107a81c0cfmr29372405edr.177.1645583560642; Tue, 22 Feb 2022 18:32:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645583560; cv=none; d=google.com; s=arc-20160816; b=wgf+JP7vkt4TXh+WfurDPoBr3J5/Z3Pz/FRFBE+ce8GNzqftlVn6+VXEQyANowFHKE i9/9nigvYB77Zyvt9RfRIBD4Zme9Xzj1duxLI274fWo1qC8V0spL4uhdKbRSiKHC3YHO 8wce9sLIafAUhiiesu7YsrJCQOIZnc/xl7f9kMhjMcoPRa3tI6OOIdBTQBYx7HTrgqv2 oxxdoxMDxQqOa0ZboXarCJCOCNO3MZObRX8F25r4ytZCzTJzDOQvQd7oT45HXpSDouRE PeqPbwLzdmDtKKUftK7wlBwkd1azMA/qA91zunyCqEeVi92SJ6K9vv00MFZp7B0BwP8c DspA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=77eDg1ymyakBS7g9E9M8fgtWWUQbIQOFjGsJ7iYRfC4=; b=IDbxEgRp6kxJO/MhpbqTM7hyPCBL8vobeJk10vZXwXDRVWgNkFbS1vjXle+xxGdi1V rMNAvh/SRNwA3HQ29nvYvWf6awY5ucq+XtmOKvlO/UvM2/3Tm2H53PnfwnFTifaD5dEn x4c7lzGAzLx0cE1IZjn/VoOs9ogX59ccA7xl645lRZEwTaZAS70AFnFlJOXKc6mW3o6S zAYwUKd+iiaM80dTI2N2zu6t1KAW6MkcWmqqaNgWC3cIjDV4MtUXcu8UR9FrIBlS3484 VD9arngDH4LFh2x9qRSD47+eCteDGziBOnRYo8I6LVLYgA9wc0LlHTGgWa9NkBhgNQkv 1reA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Eb6v0scG; 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 v22si867052edb.480.2022.02.22.18.32.17; Tue, 22 Feb 2022 18:32:40 -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=Eb6v0scG; 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 S234289AbiBVRYt (ORCPT + 99 others); Tue, 22 Feb 2022 12:24:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231342AbiBVRYs (ORCPT ); Tue, 22 Feb 2022 12:24:48 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 129B116EAB0; Tue, 22 Feb 2022 09:24:23 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 9E8656130C; Tue, 22 Feb 2022 17:24:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6B9B0C340E8; Tue, 22 Feb 2022 17:24:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1645550662; bh=77eDg1ymyakBS7g9E9M8fgtWWUQbIQOFjGsJ7iYRfC4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Eb6v0scGF8YCLZtvr8LovkMn3T36GiI55HASQRx0Wg9DuzCAMfI6Qqj/oNus8rujS 1KZIAtCZ7yPhW2dyZuiv6CkzA4nixExw9bv36ZjGxUL3T82ck2HmCZc7T/X6P4+wZX 49lwoG3X/xgRKchatyenCSw4XigU3XMSODz4uLT0+v/HpxmR21ibmidPBQuebMpO58 Y2CRFwa2+rW5A6CBr74Ntn5Zri+7Kz1M9sPUOKIPLen7SuuS7rW6Pm7yt2L4ZB9ca7 0271OjEul2FSNFjAh7OETUpqQKfqMdV/s8yxrpbulIVoH8lZ5JI/2cjn7Yfok+GyfZ o+GoeGRB0wE1Q== Date: Tue, 22 Feb 2022 18:24:15 +0100 From: Marek =?UTF-8?B?QmVow7pu?= To: Pali =?UTF-8?B?Um9ow6Fy?= Cc: Lorenzo Pieralisi , Bjorn Helgaas , Rob Herring , Andrew Lunn , Thomas Petazzoni , Krzysztof =?UTF-8?B?V2lsY3p5xYRza2k=?= , 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: <20220222182415.50922b90@thinkpad> In-Reply-To: <20220222163158.1666-4-pali@kernel.org> References: <20220222163158.1666-1-pali@kernel.org> <20220222163158.1666-4-pali@kernel.org> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 Tue, 22 Feb 2022 17:31:55 +0100 Pali Roh=C3=A1r 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. >=20 > 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. >=20 > The property needs to be specified in mW unit instead of the special form= at > defined by Slot Capabilities (which encodes scaling factor or different > unit). Host drivers should convert the value from mW to needed format. >=20 > Signed-off-by: Pali Roh=C3=A1r > Signed-off-by: Marek Beh=C3=BAn This patch is not needed, the property already is described in dtschema. Marek