Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1422983rwd; Wed, 7 Jun 2023 16:22:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7eaAR++Cl8A12Id77G9RaY6cO4bb+7mM7Ln0ltj8ukugZ1eYboMT/OPOkt690aCewXNJK4 X-Received: by 2002:a17:902:ec88:b0:1b2:46b9:d42a with SMTP id x8-20020a170902ec8800b001b246b9d42amr5777428plg.27.1686180124218; Wed, 07 Jun 2023 16:22:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686180124; cv=none; d=google.com; s=arc-20160816; b=nfcI4Ld24xYVX0L1CrWwtt0IioLk700eJsQQ3iFmXe3zPQyRyVfMsE6W+acraAsPSx Vyxm/LZl4eMXQEJNJp/BNnA8mNNkJ92VtfP8WXfxK0VQkec43VXMRXc2seFURQgR+nt5 qqPCwuBM9fRuGx6KxG1p1CvMA+XEYVIvsMyBgiq2FfTRl6Rn9o3skaqxU+1JVX78pdQP WgxRdUw0uAtuybQZbov3nuNjAtuZeCWXzzsJymZ88OcSDAZaVjFD1zw8RifoHcD+7/Zc 6PfgbPjtB/T3QyIRwoHDfBt4p6VGNMD4TreM0mJH3zp0S9jAciHCq8VkjBW4iG++CWqU +pfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=TJmr8d4vIXjlqQuoPxUVCbEDrAJO2WI0A5hbY1xFW/M=; b=XpZaRLg6yPjgiKctTXoPlDTf8Cj2YDd/fzUrZQg/gRMhccY4/aTSEa/h+PFrsHf9PF fW2dZ4QafVnMSj4Ke43RQlNYsNsF0mTQmWMnUFehfiYyMQqjtW0ld6eLpoun997Mo3P8 jBvJxbG2AqLL1WVT3xSkvUaUF/ZrbHlF7YZY01ApHtRF0zpUcL7vJLOhWj1d6QYyLv+r okHe2fPljRxyiwF4s2E3PBXreOdxjZfVYRe3X7B9Jl0xn8Q/srw8SkW3Tq9thTvoxSfv kTFL7yt27WIigzn/X7v5zNysEIKFWYnQjUQgThihNOeC9MxdGDtxpSqXtiVUDdskGTx3 ICow== ARC-Authentication-Results: i=1; mx.google.com; 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 e19-20020a170902f1d300b001afcbb10856si67871plc.394.2023.06.07.16.21.52; Wed, 07 Jun 2023 16:22:04 -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; 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 S233049AbjFGXDX (ORCPT + 99 others); Wed, 7 Jun 2023 19:03:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230424AbjFGXDV (ORCPT ); Wed, 7 Jun 2023 19:03:21 -0400 Received: from mail-io1-f54.google.com (mail-io1-f54.google.com [209.85.166.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DBCEE11A; Wed, 7 Jun 2023 16:03:20 -0700 (PDT) Received: by mail-io1-f54.google.com with SMTP id ca18e2360f4ac-777ac791935so168662439f.2; Wed, 07 Jun 2023 16:03:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686179000; x=1688771000; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=TJmr8d4vIXjlqQuoPxUVCbEDrAJO2WI0A5hbY1xFW/M=; b=kXMrhL34QMF89+khf1u9l+LXp92L7z3HhRhRltTxsutnEcZNt5Fu9/XP3knE5xbrA5 bZ5zcLfXWCplPjb2z+OY0XFTlUg7utAC0m6em9a6ZiGaiBwpnWFhG+tTV3MsOldmIZBe wqdXPLiLhlAU/nkL6kDNe580UipqH9SnIzz+4NBpGBqk5JD22UJpdrYWX8vup7Ha8fI3 NCvC0+m/KC4Ol8dr/CChrbSuREhMUOFKOz6bH3Lq0xK19TY/UO/7z+hXn/F48cKQ+sSE hBQcXeNI/Pml2LWh4g2CRQMm5divklX/o6ArnXr6wyIXDkW6FAKsQHexF/dBbsR9qI2p R52w== X-Gm-Message-State: AC+VfDxoy7ojdZ3gP5HTuQx/Olvj9g+PBUukBkt6ZL/IkfUtk4NCQiWL dcoyIjUnChvrcy7xS13c3g== X-Received: by 2002:a6b:e614:0:b0:760:f795:ccdf with SMTP id g20-20020a6be614000000b00760f795ccdfmr5743972ioh.8.1686179000100; Wed, 07 Jun 2023 16:03:20 -0700 (PDT) Received: from robh_at_kernel.org ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id z25-20020a6b0a19000000b00760f256037dsm2289652ioi.44.2023.06.07.16.03.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Jun 2023 16:03:19 -0700 (PDT) Received: (nullmailer pid 150871 invoked by uid 1000); Wed, 07 Jun 2023 23:03:15 -0000 Date: Wed, 7 Jun 2023 17:03:15 -0600 From: Rob Herring To: Leonard =?iso-8859-1?Q?G=F6hrs?= Cc: Chandrasekar Ramakrishnan , Wolfgang Grandegger , Marc Kleine-Budde , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , kernel@pengutronix.de, Krzysztof Kozlowski , Conor Dooley , linux-can@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 4/8] dt-bindings: can: m_can: add termination-{gpios,ohms} properties Message-ID: <20230607230315.GA141591-robh@kernel.org> References: <20230607115508.2964574-1-l.goehrs@pengutronix.de> <20230607115508.2964574-4-l.goehrs@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230607115508.2964574-4-l.goehrs@pengutronix.de> X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 Wed, Jun 07, 2023 at 01:55:03PM +0200, Leonard G?hrs wrote: > The termination-gpios property allows specifying a GPIO pin that > enables/disables a termination resistor on said CAN interface. > The termination-ohms property specifies the resistance of said resistor. > > Signed-off-by: Leonard G?hrs > --- > Documentation/devicetree/bindings/net/can/bosch,m_can.yaml | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml b/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml > index 67879aab623b5..106c79fa560c3 100644 > --- a/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml > +++ b/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml > @@ -118,6 +118,9 @@ properties: > phys: > maxItems: 1 > > + termination-gpios: true > + termination-ohms: true All you should need here is change additionalProperties to unevaluatedProperties as these are defined by can-controller.yaml. > + > required: > - compatible > - reg > -- > 2.39.2 >