From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7FE3AC77B7A for ; Fri, 2 Jun 2023 14:56:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=J5+kUy6x1T1zkoZlWExVZLkF024/FtJXM/0wFOkhRjw=; b=gVwo2oo8wsHiUA 2sNlpUtOatBU+LGP3LGVHXZxhHFnXNeauSWqS37Qqt9P7iaVNfVZel5iL81NqlwpZDizzd3rylIx0 pVxU0Myl4ZRVfKX5OVSFhjmug4wtzDBABDYWqYCUMCVI1A/MrpWs6rnOU6DpNsyy/v0ZPC8MSM8oL y60vra5dTrXqnx724Zi/T6JmkJlSlRJGDfQJByBKYxOxFjxIQ3v3sNL19NNLNJzkDLp2VKUWvpyOw nE3j2z91bbQgpBr/7PPlmNSQQYRBvbJ4A7pzROrlzccIllhwT0a4tchGy14txKn6waFhKpttaAG6v UonNsJcnbHEJrBZM0CZw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q56Cc-007AZA-2o; Fri, 02 Jun 2023 14:56:30 +0000 Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q56CZ-007AX8-2i for linux-arm-kernel@lists.infradead.org; Fri, 02 Jun 2023 14:56:29 +0000 Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-96f5685f902so306295266b.2 for ; Fri, 02 Jun 2023 07:56:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685717778; x=1688309778; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=wnzl+oKBQQYlv+ufXrrOrmqqiDIhBJ9gKxeDwPiop2U=; b=GMxQutQqOI2tYKBtzZAaqKIUqU7r+PbwrkxhgYgJ/iORGQqWjNUT689CDWDrVKPob9 XKn5G6+X4YG/uBUk6V3WDG1ZKe1Pihx+25lJWj/bIiP3047DfEbvgkYd1qbcubV4u9wP i3yIPb66r8f6GAu5D18gRLF4cz1zhO0XOg1Qw9MZJAfbdhK7B9tMCYXg230OYF/1VcFG nnTG22QXULPNj4Qvx+OSyRySFNN04gaYx34Ll+kkFTbJ/VYPc7oTiL5+fyStGEfvUdmI DaiY0eTy39o/0NEEYBq+Ap7jZICjSb/Ih38Gx/hIYnDufYAWV5NolWjtuMPijXaBDM9O Ub5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685717778; x=1688309778; h=content-transfer-encoding:in-reply-to:from:references:cc: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=wnzl+oKBQQYlv+ufXrrOrmqqiDIhBJ9gKxeDwPiop2U=; b=gdsvmwvZL+yha6laBq35JKQV7HJzYeQkaTX/0xpJZrLmh0X3u+mHC9GF1UY45wRKba Hcwe2GOIdyxtfv6SfqWtBpzz+u5Lmg7nmqeJ2AFj6GdnSR2f78U/mVfgg60fMlFKYM1R QWpPQWwBj5jKixBYyTIB9PR7Bo37Z0sGTVcIGY77zwgFmpM/TTJcBVqGzMXfmCFFrqZY 4Xbs/lORYM325w+XtQiD+FRJGjA+GRIXYlK57x1+TFGPMK8YGAzk/uraK6fuUlYi6F91 Sy2NLah8sIkUru9JHTkS+fA04FdjOscrk0Thm0gShqH8qMFwOyOFuds8RKRJFZ5Eh9wt sUpg== X-Gm-Message-State: AC+VfDyHdHn42AZKCazAfQ3EiZQb9meC3wjjrooyl9LU4evxER5oVPo/ 8ljL+ewMb8RvzOzUe2PXdiuhMg== X-Google-Smtp-Source: ACHHUZ4hcWFfF0FCaSfbTI+lzp2kZljSmf3H9Wn8b8Dj2qTDyDNjHbvmC3SaZv9TvGPuinNqTX/0LA== X-Received: by 2002:a17:907:8a22:b0:969:7739:2eb7 with SMTP id sc34-20020a1709078a2200b0096977392eb7mr11905326ejc.4.1685717778140; Fri, 02 Jun 2023 07:56:18 -0700 (PDT) Received: from [192.168.1.20] ([178.197.199.204]) by smtp.gmail.com with ESMTPSA id a24-20020a170906245800b009745ecf5438sm839680ejb.193.2023.06.02.07.56.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 02 Jun 2023 07:56:17 -0700 (PDT) Message-ID: Date: Fri, 2 Jun 2023 16:56:15 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [PATCH v2 2/4] dt-bindings: power: reset: atmel,at91sam9260-shdwc: convert to yaml Content-Language: en-US To: Claudiu Beznea , robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, nicolas.ferre@microchip.com, alexandre.belloni@bootlin.com, sre@kernel.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org References: <20230524123528.439082-1-claudiu.beznea@microchip.com> <20230524123528.439082-3-claudiu.beznea@microchip.com> From: Krzysztof Kozlowski In-Reply-To: <20230524123528.439082-3-claudiu.beznea@microchip.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230602_075627_902722_43142C83 X-CRM114-Status: GOOD ( 11.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 24/05/2023 14:35, Claudiu Beznea wrote: > Convert Atmel shutdown controller to YAML. > > Signed-off-by: Claudiu Beznea > --- > + > +required: > + - compatible > + - reg > + - clocks > + > +allOf: > + - if: > + properties: > + compatible: > + contains: > + enum: > + - atmel,at91sam9260-shdwc > + - atmel,at91sam9rl-shdwc > + then: > + properties: > + atmel,wakeup-rtt-timer: > + description: enable real-time timer wake-up > + type: boolean No, don't define properties in allOf. > + > + - if: > + properties: > + compatible: > + contains: > + enum: > + - atmel,at91sam9rl-shdwc > + - atmel,at91sam9x5-shdwc > + then: > + properties: > + atmel,wakeup-rtc-timer: > + description: enable real-time clock wake-up > + type: boolean Same problem. > + > +unevaluatedProperties: false This should be additionalProperties: false. > + > +examples: > + - | > + shdwc: poweroff@fffffd10 { > + compatible = "atmel,at91sam9260-shdwc"; > + reg = <0xfffffd10 0x10>; > + clocks = <&clk32k>; > + }; > + > +... Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel