Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp2138187rdb; Mon, 9 Oct 2023 14:04:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGA+JEyTOydp3+cENLZxQuobfzzIMVGaSURwmX/YFz6qw8Vp2hCQuAkobCCVvi0FCud3R5Z X-Received: by 2002:aca:1c11:0:b0:3ae:511e:179e with SMTP id c17-20020aca1c11000000b003ae511e179emr16618609oic.54.1696885470337; Mon, 09 Oct 2023 14:04:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696885470; cv=none; d=google.com; s=arc-20160816; b=p4K5+xworZuYA1oehJhRxMr2POB3s8fGcQ92ZseiJcBNaKUVEV5fccc9g3f5FXDK3C cFyO8Nh7kzBkg/9AehOPLS3wsDPtW/QaX4fn8qbBe67QbR9ev4CQ6Bb47jNtmKzozQA4 ejozYjYbuAJdobkEX/op9vx0edpn9U24O+YbyvLepxbBQ4P0GBcK60fdj7oS/Sts451Y bJ3QNupweGwmvEGNr4zAC7e9Rjpzxlx59GshPXSr4azirwJL7387VwqILR7DlXo5vMR5 wfTVgkmJcvrj5TJBQwzTI2r3pEZAdbb7+q5QWpQ1NHFEczFRsxuJYH83VOTeilCnYJ5r NzEg== 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:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature:dkim-filter; bh=ZQNCGn0ZDX59gKnFkH//6GHOgDpANzRTRpSPuZxiaU0=; fh=Pq/cFwtalRvi3197jpPGC5Qy9OD5mgzGsqng1Bi2+L4=; b=bAneF7/lNO9MfCkeA4QgAhoj4IQolEWtWn5pptCRt7IsVIRI1NTe36EOKC2eW9/JZS e59qXBJ8BVGvohywd2nb4flcJd1dx7AjkC8/ee67VtmUKYJq3aaNAelZ4uXJwhIXHSuK cx34s5Kq/d55dRNjOSIF8GI7ggZkaoMpulhziHW3Yj2+Qa1lj+Dzd3DbGKscie5MwqHM dmk4aKvdnFHbVRLdUIRxa8b6kvC44WvQYA9R5PwRR+sfuuDSolYKw0TDOzglW1HOD3u2 K2jd3iUr6x6c1KYbNX5HowHYg3hR/doh55HYUjGnDBxY8kDWjP6DAPNCC8tMNnJxpRPU f8fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@raptorengineering.com header.s=B8E824E6-0BE2-11E6-931D-288C65937AAD header.b=UprhLkhP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=raptorengineering.com Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id be3-20020a656e43000000b0058555ea0a21si1666228pgb.571.2023.10.09.14.04.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 14:04:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@raptorengineering.com header.s=B8E824E6-0BE2-11E6-931D-288C65937AAD header.b=UprhLkhP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=raptorengineering.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 6EEA2808DB7E; Mon, 9 Oct 2023 14:04:27 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378207AbjJIVEQ (ORCPT + 99 others); Mon, 9 Oct 2023 17:04:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378151AbjJIVEP (ORCPT ); Mon, 9 Oct 2023 17:04:15 -0400 Received: from raptorengineering.com (mail.raptorengineering.com [23.155.224.40]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE4C7FA; Mon, 9 Oct 2023 14:04:07 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mail.rptsys.com (Postfix) with ESMTP id 4993C82857C4; Mon, 9 Oct 2023 16:04:07 -0500 (CDT) Received: from mail.rptsys.com ([127.0.0.1]) by localhost (vali.starlink.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id z7CCEeCb38Ia; Mon, 9 Oct 2023 16:04:06 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by mail.rptsys.com (Postfix) with ESMTP id 5CA888285979; Mon, 9 Oct 2023 16:04:06 -0500 (CDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.rptsys.com 5CA888285979 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raptorengineering.com; s=B8E824E6-0BE2-11E6-931D-288C65937AAD; t=1696885446; bh=ZQNCGn0ZDX59gKnFkH//6GHOgDpANzRTRpSPuZxiaU0=; h=Message-ID:Date:MIME-Version:To:From; b=UprhLkhPFIv5BHPXCjXxxn5O09gJq/B5ymWeQG/lvwbjsf8cqLfJQOHL7tpJwtErb XBjWzvxgCmKR/RBma+/gFAqD0KkQMz0E1+uIyw93J4KYIF09MJSqQ48IQ9OpY9Wa84 ImTsOeYAjNlKZpq78KSMWbxaWhRCJSsjczKrNjZo= X-Virus-Scanned: amavisd-new at rptsys.com Received: from mail.rptsys.com ([127.0.0.1]) by localhost (vali.starlink.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 25ekiDGmw4Ns; Mon, 9 Oct 2023 16:04:05 -0500 (CDT) Received: from [10.11.0.3] (5.edge.rptsys.com [23.155.224.38]) by mail.rptsys.com (Postfix) with ESMTPSA id 9185482857C4; Mon, 9 Oct 2023 16:04:05 -0500 (CDT) Message-ID: <75446d81-449d-b8c9-3e1c-2d9ef8d61e28@raptorengineering.com> Date: Mon, 9 Oct 2023 16:04:05 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux ppc64le; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH 2/3] dt-bindings: mfd: sie,cronos-cpld: Add initial DT binding Content-Language: en-US To: Krzysztof Kozlowski , devicetree@vger.kernel.org, lee@kernel.org, Conor Dooley , Krzysztof Kozlowski , Rob Herring Cc: Timothy Pearson , linux-kernel@vger.kernel.org References: <8b014f8b302f8b41c45c4f6fb114cf18e84a76fa.1696285339.git.sanastasio@raptorengineering.com> <7ed841ee-765b-47a6-8a28-3c4df6b21185@linaro.org> From: Shawn Anastasio In-Reply-To: <7ed841ee-765b-47a6-8a28-3c4df6b21185@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 09 Oct 2023 14:04:27 -0700 (PDT) On 10/3/23 4:22 AM, Krzysztof Kozlowski wrote: > On 03/10/2023 00:32, Shawn Anastasio wrote: >> The SIE Cronos Platform Controller CPLD is a multi-purpose platform > > What is SIE? Vendor prefix says sony. > (Repeated from my response to your reply to patch 1) Sony Interactive Entertainment is a separate corporate entity and it's the one that created the hardware to which this driver pertains. > What is Cronos? > Sorry, I'll amend the description to clarify this. Cronos is an x86 server platform developed and deployed by SIE. > >> controller that provides both a watchdog timer and an LED controller. As >> both functions are provided by the same CPLD, a multi-function device is >> exposed as the parent of both functions. > > A nit, subject: drop second/last, redundant "DT binding". The > "dt-bindings" prefix is already stating that these are bindings. > Will do. >> >> Add a DT binding for this device. >> >> Signed-off-by: Shawn Anastasio > > Except that this was clearly no tested... > My apologies, it seems I didn't have all of the required dependencies installed locally to enable dt binding validation. Will fix. >> --- > > ... > >> +properties: >> + compatible: >> + const: sie,cronos-cpld >> + >> + reg: >> + maxItems: 1 >> + >> + '#address-cells': >> + const: 1 > > Why do you need it? > >> + >> + '#size-cells': >> + const: 1 > > Also looks unneeded. > These were inherited from an existing dt binding in the tree that I used as a reference. I'll drop them both at your request. >> + >> + leds: >> + type: object >> + description: Cronos Platform Status LEDs > > Missing additionalProperties:false... but anyway this is just empty. No > resources? Drop the node. > Having nodes for the leds and the watchdog allows the two independent functions to be enabled/disabled in the device tree by adding/removing the relevant object. Would it be more idiomatic to instead introduce properties to the parent sie,cronos-cpld object to toggle these functions? >> + >> + properties: >> + compatible: >> + const: sie,cronos-leds >> + >> + watchdog: >> + type: object >> + description: Cronos Platform Watchdog Timer >> + >> + properties: >> + compatible: >> + const: sie,cronos-watchdog > > No resources? Drop the node. > Same question as above. > Best regards, > Krzysztof Thanks, Shawn