From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A2970C4332F for ; Thu, 20 Oct 2022 08:28:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229974AbiJTI2o (ORCPT ); Thu, 20 Oct 2022 04:28:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229664AbiJTI2m (ORCPT ); Thu, 20 Oct 2022 04:28:42 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CDEEC18B4A4; Thu, 20 Oct 2022 01:28:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=lbsZ/YW7ZnIezwA4BRfrow1LCllF86bNZlcUisWMgkY=; b=0RNLUrzBGOpPkxhVKlJw1XP1dt 7yQ5SsKHRlKyD3skl5phrZiBJoPInAdZbvlrGNDSpq+pP1w1UMtuUMYcclPDwc/tRbNS7MyFB/A+3 7BimswlwrF9gfnESIs5s+LpUGfcXJmXKYSUd+rY5dsOJsyR3Rp9UCkYJMm2+WGAo0DFmxm9H60wLn mrFA/MC+RTbx9j2/EAt6o13O609mCl0+un6MBBfHDkpFe6DG6wl4tz6euxlqHVZiH3XJjMqD6iFZJ Z47Pxaf51r16Bef5RprJFUf1kUS9pt6b03cLG2lsAhF+1sVdFv+P87tZarXRWkBOu2+wNSCoTCmPr RJVWgqZg==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:34816) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1olQuh-0006ie-NW; Thu, 20 Oct 2022 09:28:27 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1olQuf-000311-Qb; Thu, 20 Oct 2022 09:28:25 +0100 Date: Thu, 20 Oct 2022 09:28:25 +0100 From: "Russell King (Oracle)" To: Rob Herring Cc: Rob Herring , Krzysztof Kozlowski , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, devicetree@vger.kernel.org, Eric Dumazet , "David S. Miller" Subject: Re: [PATCH net-next 1/7] dt-bindings: net: sff,sfp: update binding Message-ID: References: <166622204824.13053.10147527260423850821.robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <166622204824.13053.10147527260423850821.robh@kernel.org> Sender: Russell King (Oracle) Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Wed, Oct 19, 2022 at 06:31:53PM -0500, Rob Herring wrote: > On Wed, 19 Oct 2022 14:28:46 +0100, Russell King (Oracle) wrote: > > Add a minimum and default for the maximum-power-milliwatt option; > > module power levels were originally up to 1W, so this is the default > > and the minimum power level we can have for a functional SFP cage. > > > > Signed-off-by: Russell King (Oracle) > > --- > > Documentation/devicetree/bindings/net/sff,sfp.yaml | 2 ++ > > 1 file changed, 2 insertions(+) > > > > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' > on your patch (DT_CHECKER_FLAGS is new in v5.13): > > yamllint warnings/errors: > > dtschema/dtc warnings/errors: > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/sff,sfp.yaml: properties:maximum-power-milliwatt: 'minimum' should not be valid under {'enum': ['const', 'enum', 'exclusiveMaximum', 'exclusiveMinimum', 'minimum', 'maximum', 'multipleOf', 'pattern']} > hint: Scalar and array keywords cannot be mixed > from schema $id: http://devicetree.org/meta-schemas/keywords.yaml# I'm reading that error message and it means absolutely nothing to me. Please can you explain it (and also re-word it to be clearer)? Thanks. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!