Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5450231rwr; Tue, 9 May 2023 01:24:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6Reh/pCpBzbcYKLKDFQ2zFhO1VmfW6G4lZmIT9uHDvPzM+4LZkIYBQ2t/pkeFwXOhgpPnt X-Received: by 2002:a05:6a20:9183:b0:fc:8dfb:318b with SMTP id v3-20020a056a20918300b000fc8dfb318bmr17583232pzd.0.1683620644205; Tue, 09 May 2023 01:24:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683620644; cv=none; d=google.com; s=arc-20160816; b=eMadEOIQQU8FqiVI74OVUivOTw2KmpNZXh7dbffwpk10vNF5OKrico9FcNdLiWJLt+ eO6qKVRxeCYAEAgfE5gnADFIbw4o9rFvCL/DdJw8Cy0OWGCRc0ceQF9KqbBockadR3vm GlagPRAcQsT9OcKLjpLPjWuzLGKZdH74ZGAI+5Ss/SrgRWjCYZ0ITHY4SRNcFgVqXWt0 QCBrCH8hQzme370+XMaYf8RVHSM+yI6+1G987+n2BHV5vZqtplDe+wBE2IQD+1bksAM8 qfDfdvoItp8xwiNMkdh0xEOp6gqsbJXX7DwSdwsc9kWwPdLcBnZX9J4snBEDyLstCqB6 onvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=xiXwYK/qlqfochXenjQWIGbfKF1O82XonJ4AkVNtzxI=; b=O7KdRDIGMOKwb0A3vkO93pPMgZyxKn+XGxLEwx7XSGQbu5MmNbFdx4o0d/J/K4qhW2 9QN03Sw8hYxT5rzkC1ZvqCie/OxUZ8iMRBWi4ZWkK+ULxgqX8dE3mJQ4f0cJK9adxFDr phRZThCyT07h100Jl5L2CN/uIi+iHcwxRGKE+KrPU1hOocMftfRFeisvJNW9AxLfFZe9 4XfSQCULA+D36fbSlP5cSlXItJInju9iIpz0gEvwCj9kauDUNKNa3CZuap6E86/f1Ou3 3Xd6sfIXh/kkJL3YlFAn9PBk6yhMKPtxmyMmvX58+S+Q1onjcb6yLUyjNtiXxxc5klwD bZNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="pvqC2zB/"; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k7-20020a635607000000b0052868a865d8si966353pgb.430.2023.05.09.01.23.51; Tue, 09 May 2023 01:24: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; dkim=pass header.i=@linaro.org header.s=google header.b="pvqC2zB/"; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234950AbjEIIIx (ORCPT + 99 others); Tue, 9 May 2023 04:08:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234600AbjEIIIa (ORCPT ); Tue, 9 May 2023 04:08:30 -0400 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 00D9F61AD for ; Tue, 9 May 2023 01:07:54 -0700 (PDT) Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-50bc040c7b8so8546800a12.2 for ; Tue, 09 May 2023 01:07:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683619673; x=1686211673; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=xiXwYK/qlqfochXenjQWIGbfKF1O82XonJ4AkVNtzxI=; b=pvqC2zB/uI/j11QALDWd46ubTDORZFI0G1xpsVreGSYB6cyEwzfcBJfdKZUMSS0SN3 7175lh8g2ukI+zg0erg+IZIbtgHUwWOCf1yqgcqetWa6cbwckCNRqc2ENIc/GORR+myt IiHpCxyhTOWWsR4JtR0JNChk2o6nplglcexqKxY5flJEJ0chhvxDmmfbgcsLL4HqbnCr 0U58m4fbYBQ0CG6XDM1vhBYSc/M96D1LtMa4q/PxS2Ss49GzvVuIsdxnuv619Sqv+Q5x nx0hvRKfmy/VeXQY00felOHUptta4wg9EaemwBxDYFnFjf5/5WyUSASgLQ83Zd2I5P6F rZQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683619673; x=1686211673; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=xiXwYK/qlqfochXenjQWIGbfKF1O82XonJ4AkVNtzxI=; b=cOlW5alPcsy+ffC4rI/pJvFE9iNaqetDhnlF9+qUv7pCiezLDLMQzVwGkKt2S4A85A 9LKT+9/YFYD5OYIwcAjVjI1vSdbvUXKMaHZ/bZBe1NjiDPVxJDjhHbhy+qVb+NjTWrfK YNcFfAxLgenXHOPvAQfrd7Z4Ax9LK4Ou18+xGcfzgU6Mj14AgpmyhLX9T4kK1r6vLODQ bpiBZTX2r+poC7eE87lVAWI9VbPynio8n5Q5dFpY8DX4WpmvPfwV1RpEBo94ESOjY07V eSmlHN1rb505XTLQ6AKOlkSeLY0pUCH0ilKk68AsxiGjNieph6Hc7vkr3ho4/t472laa 90ew== X-Gm-Message-State: AC+VfDxHQTM0IOm0ai0AzPumvalD7eHesJV52ce3+/95ZTNzOL3oDviF GvYIF2EJPT9GjPLN4ce94wL1bg== X-Received: by 2002:a05:6402:202a:b0:508:5062:8d8c with SMTP id ay10-20020a056402202a00b0050850628d8cmr9872420edb.22.1683619673393; Tue, 09 May 2023 01:07:53 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:d0d5:7818:2f46:5e76? ([2a02:810d:15c0:828:d0d5:7818:2f46:5e76]) by smtp.gmail.com with ESMTPSA id s24-20020aa7d798000000b0050bc37ff74asm476126edq.44.2023.05.09.01.07.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 May 2023 01:07:52 -0700 (PDT) Message-ID: <8119eec8-0190-b6a5-85a7-301bcb81b0c9@linaro.org> Date: Tue, 9 May 2023 10:07:51 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [EXT] Re: [PATCH 1/2 v7] dt-bindings: watchdog: marvell GTI system watchdog driver Content-Language: en-US To: Bharat Bhushan , "wim@linux-watchdog.org" , "linux@roeck-us.net" , "robh+dt@kernel.org" , "krzysztof.kozlowski+dt@linaro.org" , "linux-watchdog@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Sunil Kovvuri Goutham References: <20230508131515.19403-1-bbhushan2@marvell.com> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 09/05/2023 09:26, Bharat Bhushan wrote: >>> +properties: >>> + compatible: >>> + oneOf: >>> + - const: marvell,octeontx2-wdt >> >> Why is this alone? Judging by the enum below, octeontx2 is not specific. >> >>> + - items: >>> + - enum: >>> + - marvell,octeontx2-95xx-wdt >>> + - marvell,octeontx2-96xx-wdt >>> + - marvell,octeontx2-98xx-wdt >> >> We don't allow wildcards in general > > Marvell have octeontx2 series of processor which have watchdog timer. > In 95xx,98xx,96xx are the processors in octeontx2 series of processor. So octeontx2-95xx is on soc, octeontx2-96xx is another and so on. No, 95xx is not a processor. Otherwise please point me to exact product datasheet. Hint: I checked it. > >> >>> + - const: marvell,octeontx2-wdt >>> + - const: marvell,cn10k-wdt >> >> Same question - why is this alone? > Same here, Marvell have cn10k series of processors and cn10kx and cnf10kx are the processor in this series. I don't understand how does it explain my concern. This is alone because there are series of processors? How is that related? > > One of the difference between octeontx2 and cn10k series processor is number of timers available. Which within the available set of timers one of the timer is programmed to be watchdog timer. Wrap your replies. It's difficult to read. > > Can you please propose how you want these compatible to be defined? https://elixir.bootlin.com/linux/v6.4-rc1/source/Documentation/devicetree/bindings/soc/qcom/qcom,eud.yaml#L19 Best regards, Krzysztof