Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp1646695rwb; Fri, 5 Aug 2022 05:43:44 -0700 (PDT) X-Google-Smtp-Source: AA6agR7FznUg43TcdYtVPA8aufLBFgB+mJWlbQ65zwkq3JOeg1bwA80lpamBLe7kAYWYWvrwiECR X-Received: by 2002:a05:6402:1d4c:b0:43d:debb:5667 with SMTP id dz12-20020a0564021d4c00b0043ddebb5667mr6415299edb.140.1659703423970; Fri, 05 Aug 2022 05:43:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659703423; cv=none; d=google.com; s=arc-20160816; b=DQj9BnqJ2t7rDMoQl1i2RbpbAQssPAui+AwwlwbTgCn3Yt7onlaOe8knGQeW9C4pQq MgRbElMi/BRdVlDkWo2g4rVQ+/gMZ5CGl7pe6xPeYjElBsEF9t2et+/zj4DwNYbwhrfY +7vpwmksG0rmLsNUhTFgB6QVcK/Ysn5nlbMEDSs6e9t7mZtMby6g82ZoFg9q7iPYPDv5 1/YN7TiMUQa5Uit7CaR9VQoTAJuRtXMhhtQLkzm1kc71b4a73rWuXVinFiBgg9vXnbiE osom4RMFspukSMELmHm6r0nq+LkoHqT4U+HRquVvdDJ2nHLtq0YHfuqJln8G8L+UONAk XiDg== 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-disposition:mime-version :references:reply-to:message-id:subject:cc:to:from:date:sender :dkim-signature; bh=12EUweBf0CXLW8+gSAKKg9xplGZSYosR37oZCD2Y1Eg=; b=HtRhSMnFlM3JGJrNj1Vn7n/cwHkqrebKuBUHIAu7zX5dpm30/9GM9DStTOic2Vt/Rf EiXzDTRoDrvGUL2fceQ4QrRVqy6L7vjopd+g8KZlAtybahK099UemyGx9FLwnvbni8Eo SsvDVtHkTs0tULCN0D0Kxj5x6uqXv/I652a5Ngysam6jSfbvE8a5inbUo1ifJ6RqeFUT jlH0R//13JVZNT0+FT9RspYss7p9M4Z256LN+nj+8D9WQYJixvWOcP6WA8Ul42DTzIXf feEpMHQwePoyJ9+c86EhQ2Z3tPRitj53LA38vj+HzaJBWC+oNmJRz7gaSH28uuGLOsF8 vttQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=VT9RgJ+o; 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=fail (p=NONE sp=NONE dis=NONE) header.from=acm.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dt19-20020a170907729300b0072f41de66b3si970878ejc.942.2022.08.05.05.43.18; Fri, 05 Aug 2022 05:43:43 -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=@gmail.com header.s=20210112 header.b=VT9RgJ+o; 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=fail (p=NONE sp=NONE dis=NONE) header.from=acm.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240588AbiHEL6g (ORCPT + 99 others); Fri, 5 Aug 2022 07:58:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230169AbiHEL6d (ORCPT ); Fri, 5 Aug 2022 07:58:33 -0400 Received: from mail-qt1-x835.google.com (mail-qt1-x835.google.com [IPv6:2607:f8b0:4864:20::835]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B14876470; Fri, 5 Aug 2022 04:58:33 -0700 (PDT) Received: by mail-qt1-x835.google.com with SMTP id d16so1821033qtw.8; Fri, 05 Aug 2022 04:58:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:reply-to :message-id:subject:cc:to:from:date:sender:from:to:cc; bh=12EUweBf0CXLW8+gSAKKg9xplGZSYosR37oZCD2Y1Eg=; b=VT9RgJ+oVb09HdRQa6Lq62UkO+czbOAM9zhFz3mQzPOunpvHA/Dup3iDIDNBrSTcRg ISw6ghOW+btNX/HqH0k2wNgSXpUg9bL7XcttzO3HDDNNozk+y3dM1mVPrsLCuGG1wDEB zPDESdIoCLKl87M3ZHZOLwvWZcZCGfdRYxSeLVkv1UokGzv1nB/bnYzWf+ZQw+cvxeeO puAKsVq9rrDGTJ2pP8KskFUBBm5iQIXGPWMPTn0Fzqb9UMJ5bQb/k0gtuQPFCBlS4+N1 kK6jb8sG7doAKbDSIiJhVitTkmnihXzpan+QM+ytoVxdChvksAv2+bOnb1FKMbKjMQbE tC4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:reply-to :message-id:subject:cc:to:from:date:sender:x-gm-message-state:from :to:cc; bh=12EUweBf0CXLW8+gSAKKg9xplGZSYosR37oZCD2Y1Eg=; b=wDByAgHNHZJ03deDYW2vEKKN/OA1nnGtxUt7DOTrHR/lVsi8rMVlIEMlGVgH88E5GU A8JenB0e7ck384WpGVpOyKwjHwWnAclWHSVPn6ZEe6aHKq92+9BiXKGcKUasVVJZjloj BE9uQGzUnjWznEV+XKSplBqZDmGxntS6/vc4osTcXOqMjeKYzvFFO2khP8HIp5h8ThLw ZuObo52DhhJtb+bOWWN+HDgb2+l7fn0poUJQzIHZQTpoUmxMzUKa/ANwpUalcA6cAfWP /pGPXM+T/fwqvAY5hK5LCvnRpoJ29Nb8+6JePLV15ZKre5summq35N5wvDNhbFQ4fxcs 9Ufw== X-Gm-Message-State: ACgBeo1gQoX60o65JtOKcTQN9vl6/Y8R8BCfCgBgE27gaHvzH+dXlOEI TpCiniKe4Jqg62HbgiuuwA== X-Received: by 2002:a05:622a:346:b0:31f:c40:eac0 with SMTP id r6-20020a05622a034600b0031f0c40eac0mr5373701qtw.326.1659700711064; Fri, 05 Aug 2022 04:58:31 -0700 (PDT) Received: from serve.minyard.net (serve.minyard.net. [2001:470:b8f6:1b::1]) by smtp.gmail.com with ESMTPSA id c8-20020ac85188000000b0031eb51dd72csm2491484qtn.85.2022.08.05.04.58.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Aug 2022 04:58:30 -0700 (PDT) Sender: Corey Minyard Received: from minyard.net (unknown [IPv6:2001:470:b8f6:1b:8c5c:a823:f5bd:8751]) by serve.minyard.net (Postfix) with ESMTPSA id 4CFC71800FA; Fri, 5 Aug 2022 11:58:29 +0000 (UTC) Date: Fri, 5 Aug 2022 06:58:27 -0500 From: Corey Minyard To: Tomer Maimon Cc: avifishman70@gmail.com, tali.perry1@gmail.com, joel@jms.id.au, venture@google.com, yuenn@google.com, benjaminfair@google.com, jic23@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, openbmc@lists.ozlabs.org, openipmi-developer@lists.sourceforge.net, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v2] dt-binding: ipmi: add fallback to npcm845 compatible Message-ID: <20220805115827.GG3834@minyard.net> Reply-To: minyard@acm.org References: <20220804181800.235368-1-tmaimon77@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220804181800.235368-1-tmaimon77@gmail.com> X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,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 Thu, Aug 04, 2022 at 09:18:00PM +0300, Tomer Maimon wrote: > Add to npcm845 KCS compatible string a fallback to npcm750 KCS compatible > string becuase NPCM845 and NPCM750 BMCs are using identical KCS modules. > > Signed-off-by: Tomer Maimon > --- > Documentation/devicetree/bindings/ipmi/npcm7xx-kcs-bmc.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/ipmi/npcm7xx-kcs-bmc.txt b/Documentation/devicetree/bindings/ipmi/npcm7xx-kcs-bmc.txt > index cbc10a68ddef..4fda76e63396 100644 > --- a/Documentation/devicetree/bindings/ipmi/npcm7xx-kcs-bmc.txt > +++ b/Documentation/devicetree/bindings/ipmi/npcm7xx-kcs-bmc.txt > @@ -7,7 +7,7 @@ used to perform in-band IPMI communication with their host. > Required properties: > - compatible : should be one of > "nuvoton,npcm750-kcs-bmc" > - "nuvoton,npcm845-kcs-bmc" > + "nuvoton,npcm845-kcs-bmc", "nuvoton,npcm750-kcs-bmc" This is just wrong. The compatible is supposed to identify the device, not the board the device is on. I think compatible here should be "npcm7xx-kcs-bmc", and just use that everywhere. It's fine if that is used on a board named npcm845. -corey > - interrupts : interrupt generated by the controller > - kcs_chan : The KCS channel number in the controller > > -- > 2.33.0 >