Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5789621rwr; Tue, 9 May 2023 06:26:17 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5L4NUDXOrI01PlTUvGA1tWmJdrMGclKlwDqofKFqykJks1HkB7DS0l7lizp+2m00v4d1qT X-Received: by 2002:a05:6a20:7295:b0:ef:205f:8184 with SMTP id o21-20020a056a20729500b000ef205f8184mr17992806pzk.13.1683638776865; Tue, 09 May 2023 06:26:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683638776; cv=none; d=google.com; s=arc-20160816; b=JqpEbhYupkFmQ1psv0YJB1JhlSc4151SEa8tHpuxc4X/3+k8SEg9Ko2ezQqrX31vA9 gDmYC8c31fz0qfDh6qcD/1p/0R7ywACW3mlOJCcQlGbmHoUALr3hEXzl8V3ERjDg+MNH wAdHkfYHB/T1aTabCM12kMo5A08jb52DU5QfZQ/fJ/iOf+tIfpBmw0DjahVJVaywfE0w YyictpjiYVy0SYSuNbthsz8PSKEMbPhoGqhrzNfLAZT0bqPyiV+anZEKXgFw8InrfwC9 K+xpHZ4Hm5S5LQVTsxWOGO35/0t8No8GZpuS2rMFG/3mLgkXJS1JRxZvxg8UMXj2VZbb OfFA== 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=dq27aAWxCkL5lh0gQsM04iiHCtmU3UirHOLrJGmxHBw=; b=FSNE2mFqAPzJOWQm3unvjGj5aB7zftEodIwggGa+Jh8h44Bq5TFVniESIdup8hZHfo AKe9m54rXIYfIokBZ9m2iS3IE6hrmeHNfZHDm7S0D059XKBHZf9u6lnzdncL1Cwa/scp fxbNaACr8HV8my6+PP2Tzx/GCf3IfMaI9sWlR5sXRLg/LAZodszMHYb/TkMD06X4A0sy exnmUnp65KGDL7wE3UyvHuLYsEm+FTo1C5k3LBwK5jHdf5lZJd5OySHIWZvJsKB3tVpv qmm3ALPnhGP+9fbllav/63quQKNtoWSlGCyZgEsc7QgsVDQdrRl5j4/B+DuBSexVRrCB pK3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bTzFElQ0; 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 hk17-20020a17090b225100b002509d96227esi3307857pjb.173.2023.05.09.06.26.01; Tue, 09 May 2023 06:26:16 -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=bTzFElQ0; 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 S235469AbjEING2 (ORCPT + 99 others); Tue, 9 May 2023 09:06:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235376AbjEINGT (ORCPT ); Tue, 9 May 2023 09:06:19 -0400 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E4F749E8 for ; Tue, 9 May 2023 06:06:09 -0700 (PDT) Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-50bc570b4a3so10950115a12.1 for ; Tue, 09 May 2023 06:06:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683637567; x=1686229567; 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=dq27aAWxCkL5lh0gQsM04iiHCtmU3UirHOLrJGmxHBw=; b=bTzFElQ0Ijj7Qqx+ITj7N8by0OSLOkJjap0bR5jb2buLViuMHSIwCpg2gPnbNxbiur n33ue596ZSOoRMFmoqk2Nw+qulSAPRl9FFYrxG+D2hBsBpuJ9rzibf7y9hl7H2osQ8GV e9Y2kuXfjDo1FnM7qhu8Xbnp5qKFZZ1JKEy8kyyruikEg+KOZ18yiV3ne2ALwGNSFm2g Y9Pjr9teRy4OQkplB6eGyFeQQ/2RFgxPRgGrgYiTmhV3rK/WmKhBGkahCk3OLdhgtGmn jhA2SRixz7fO3Vq/zMVXv+AT/afuzs+K/HadURIPOpJYvBaEs8iR4BF1A3otPPfzz5ej +hwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683637567; x=1686229567; 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=dq27aAWxCkL5lh0gQsM04iiHCtmU3UirHOLrJGmxHBw=; b=H9MY6F8smlHiBF9mlHDiVCI6gahGG4FgFX0aV+lhkCAMmoa0raISTGP2nDGe0Ll11J lNxPDx82NtWRT6c9RQbQPWdfUtQu+VEW8gWNUcM1UoayOdIsXgA3cb6ux/nI8k03k6qd wvVeI7MKdPPYIgfhDpwRmTOBGrbdtFsFyRbnoQQ9dnG1Xb0/SpYT84LNwMyodU/W911C Qv/eumbuhMNj5YuasBx1TsGFORTEjZiFGDkQkGnYMiJ2ztOW9u1uwWVOJ4BW+NWLYHd6 8Bg7RX+OeaeQ/FIu+dwr++JIk9hkfh0KHinMhOyfKTTo07t6pvsnlQNNAkKA5JIJ8kpW +70w== X-Gm-Message-State: AC+VfDzepBw8pewvUp4LAxHJatFE3feDIu65zeVQf9WyatbITRJg4Mpe qAKo/s/9xZjPsK0NCkYmRgFLHg== X-Received: by 2002:aa7:c059:0:b0:50d:9b57:842a with SMTP id k25-20020aa7c059000000b0050d9b57842amr5582009edo.9.1683637567393; Tue, 09 May 2023 06:06:07 -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 y2-20020a056402134200b00504ecc4fa96sm726424edw.95.2023.05.09.06.06.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 May 2023 06:06:06 -0700 (PDT) Message-ID: <8b540cc2-bc0d-9d8b-45e6-98410322b3f6@linaro.org> Date: Tue, 9 May 2023 15:06:05 +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> <8119eec8-0190-b6a5-85a7-301bcb81b0c9@linaro.org> 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=unavailable 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 11:01, Bharat Bhushan wrote: > > >> -----Original Message----- >> From: Krzysztof Kozlowski >> Sent: Tuesday, May 9, 2023 1:38 PM >> 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 >> Subject: Re: [EXT] Re: [PATCH 1/2 v7] dt-bindings: watchdog: marvell GTI system >> watchdog driver >> >> 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. > > Looks like 95xx data sheet is not public, will remove in that case. We can talk about 96xx. Can you point me to the SoC named exactly like this? 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? > > Tried to make it look like other drivers. Let's keep it simple, we want to enable this only for below ones Enable what? None of these explains why do you need this entry alone, since it is covered by list further. > > properties: > compatible: > enum: > - marvell,cn10k-wdt > - marvell,octeontx2-wdt > > Are you good with that? Not sure, it sounds like it ignores our entire discussion. What's the name of the SoC? I see "OcteonTx2 CN9130", not "OcteonTx2". I linked your previously guide how to write bindings. Did you read it? Best regards, Krzysztof