Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp956649pxp; Wed, 16 Mar 2022 22:35:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy3XYLiA5+DX+hYEvbiagDSnXXmmFHSUdEyhupof7MROVXgSh0DkLS5biClCAaZr+qb2tNQ X-Received: by 2002:a63:ce14:0:b0:381:113d:fd24 with SMTP id y20-20020a63ce14000000b00381113dfd24mr2358885pgf.7.1647495338138; Wed, 16 Mar 2022 22:35:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647495338; cv=none; d=google.com; s=arc-20160816; b=O8fvJVcGPqYY8g3qeRYbp3URZ5W0CD1tLUyX4B6fKr8Nu6hr01XXzlUgAs8GCdZFNc XRhnf+eTAkNz86IWUjhf/SirEH4Haf8ug8C3NxHSUpFOwRmt5WrLX8b/XuGKg3W78SEB V3eo9LQBwuSIf1HqiFLysxBTCqEOyDhesU0QuefCqdQIfH/FFgT0/VQ79PDBNjMyQlw1 AagkWhXx0Hx/bV8pLQ/iTtoa4/Oj38GCrR1h4shvY7ZISC/BaZEzWWP7VnPFuD0OQEaH 0wpxN2L5r9s6cKnah0hJKglIOtcwsT0rXAPziReMW98jp1NELxmbTBhG72e6urCIkdLQ BGeg== 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; bh=xbjpHbWCTEfu5WEpcZkMmWqJiCN3FpxdQjPcN2vcHeU=; b=RKe48Y5410Xxk90qWA/awi5mpLpKfn9xbqAilFcm8jZEbjdM5I7tcObv9XyWI72k9f i5ENmgJbONmGEtx9hTi6LeMJY3pvMqyT84TA1Hz8wtxKlGVSAy4hlOfaQ9rKqHLY8Hf2 3GwGjOoYejeFai7pOm04WqO1b/JlEaA3bplOre0vh4gdKK4DEM0mlpoj/YEEaIdbf0ou apVLtZmMC3pFumi7A9Lzbmmdyf7E8NjfP+ehPL8aTjSAfMFxjUWvx9FYZyrNuBZZau6X Msm990Xka0VYlzjfOHP5jUlIY4baB2vdUVCbwHuh8jiGabqAYlVdwBIEOnIq0KAW33Rv LnNw== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id t5-20020a635f05000000b003816043efcesi1073477pgb.451.2022.03.16.22.35.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 22:35:38 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F1B5CF4638; Wed, 16 Mar 2022 21:36:56 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234165AbiCMJfB (ORCPT + 99 others); Sun, 13 Mar 2022 05:35:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233001AbiCMJfA (ORCPT ); Sun, 13 Mar 2022 05:35:00 -0400 Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C43064E1; Sun, 13 Mar 2022 01:33:51 -0800 (PST) Received: by mail-ed1-f52.google.com with SMTP id y22so15998006eds.2; Sun, 13 Mar 2022 01:33:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=xbjpHbWCTEfu5WEpcZkMmWqJiCN3FpxdQjPcN2vcHeU=; b=Pa2txRWGc/z4ie9s1JWOiouXhBeE4jsrJHVt7b7qAUdkrKXweR+wuIrCwEO775Q31w B0GnfEbrfU/3OXFSURr0YAYmp/SfnBNjpSerc37OsWdLdVSJgho/p2BHPYDHJMuBu9Jx QSsmClVjtAzZ8JaNUljyT5Zgi5+OffEE5Y7ff189pDLDEpiG4ySsHO2MDTgX6uEjduif 3ZKrfumm+Q6ret29Pby4DpMPdkeXEmOsOOuOXbYrwckr3RS+vzkQLfa5S47lS3iKk3kb xM3K2uYeWvD2zEBfz1tC3I69MsY7LYjjH8fNjYOMIGbBT7cJC42UwuehGp0w1uGYQCjx dnOg== X-Gm-Message-State: AOAM532kZW2kgk4ZxhAVpn752Lyy7+AmOwYQHDRo2eidtSz2muZkYPi6 i3T25thLk/v6XrsEPoWmCSU= X-Received: by 2002:a05:6402:26cf:b0:416:a2bd:de1 with SMTP id x15-20020a05640226cf00b00416a2bd0de1mr16057697edd.306.1647164030026; Sun, 13 Mar 2022 01:33:50 -0800 (PST) Received: from [192.168.0.150] (xdsl-188-155-174-239.adslplus.ch. [188.155.174.239]) by smtp.googlemail.com with ESMTPSA id n19-20020a1709067b5300b006ce36e2f6fdsm5321348ejo.159.2022.03.13.01.33.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 13 Mar 2022 01:33:49 -0800 (PST) Message-ID: <8eb40370-9b33-e97c-a576-18ba23266084@kernel.org> Date: Sun, 13 Mar 2022 10:33:48 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH v11 1/2] dt-bindings: misc: Add iop yaml file for Sunplus SP7021 Content-Language: en-US To: Tony Huang , robh+dt@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, derek.kiernan@xilinx.com, dragan.cvetic@xilinx.com, arnd@arndb.de, gregkh@linuxfoundation.org Cc: wells.lu@sunplus.com, tony.huang@sunplus.com References: From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE,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 12/03/2022 17:16, Tony Huang wrote: > Add iop yaml file for Sunplus SP7021 > > Reviewed-by: Rob Herring > Signed-off-by: Tony Huang > --- > Changes in v11: > - Addressed comments from krzysztof. > > .../devicetree/bindings/misc/sunplus,iop.yaml | 78 ++++++++++++++++++++++ > MAINTAINERS | 5 ++ > 2 files changed, 83 insertions(+) > create mode 100644 Documentation/devicetree/bindings/misc/sunplus,iop.yaml > > diff --git a/Documentation/devicetree/bindings/misc/sunplus,iop.yaml b/Documentation/devicetree/bindings/misc/sunplus,iop.yaml > new file mode 100644 > index 0000000..ad1c4be > --- /dev/null > +++ b/Documentation/devicetree/bindings/misc/sunplus,iop.yaml > @@ -0,0 +1,78 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +# Copyright (C) Sunplus Ltd. Co. 2021 > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/misc/sunplus-iop.yaml# Still wrong path. This would be easily spotted if you test the bindings. Please run dt_binding_check. It's a requirement. > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Sunplus IOP(8051) controller > + > +maintainers: > + - Tony Huang > + > +description: | > + Processor for I/O control, RTC wake-up procedure management, > + and cooperation with CPU&PMC in power management. > + > +properties: > + compatible: > + enum: > + - sunplus,sp7021-iop > + > + reg: > + items: > + - description: IOP registers regions > + - description: PMC registers regions > + - description: MOON0 registers regions > + > + reg-names: > + items: > + - const: iop > + - const: iop_pmc > + - const: moon0 > + > + interrupts: > + items: > + - description: IOP_INT0. IOP to system Interrupt 0. > + Sent by IOP to system RISC. > + - description: IOP_INT1. IOP to System Interrupt 1. > + Sent by IOP to system RISC. > + > + memory-region: > + maxItems: 1 > + > + wakeup-gpios: > + description: When the linux kernel system is powered off. > + 8051 is always powered. 8051 cand receive external signals > + according to this gpio pin. 8051 receives external signal > + through gpio pin. 8051 can power on linux kernel system. > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - reg-names > + - clocks > + - interrupts > + - memory-region > + - wakeup-gpios > + > +additionalProperties: false > + > +examples: > + - | > + #include > + #include > + #include > + iop: iop@9c000400 { > + compatible = "sunplus,sp7021-iop"; > + reg = <0x9c000400 0x80>, <0x9c003100 0x80>, <0x9c000000 0x80>; > + reg-names = "iop", "iop_pmc", "moon0"; > + clocks = <&clkc 0x14>; > + interrupt-parent = <&intc>; > + interrupts = <41 IRQ_TYPE_LEVEL_HIGH>, <42 IRQ_TYPE_LEVEL_HIGH>; > + memory-region = <&iop_reserve>; > + pinctrl-names = "default"; > + pinctrl-0 = <&iop_pins>; > + wakeup-gpios = <&pctl 1 GPIO_ACTIVE_HIGH>; > + }; > \ No newline at end of file You have a patch warning here. Best regards, Krzysztof