Received: by 2002:ac8:156:0:b0:3e0:cd10:60c8 with SMTP id f22csp8361qtg; Thu, 6 Apr 2023 10:27:36 -0700 (PDT) X-Google-Smtp-Source: AKy350Yoi0SdndR7ueL0mkcTgu9k/ABuOkC0WrWBJufSF6TIwAOtlHY5jpu5/i2aHGUvNw6Dy0VN X-Received: by 2002:a17:902:d4c6:b0:1a1:cc5a:b07 with SMTP id o6-20020a170902d4c600b001a1cc5a0b07mr15001154plg.37.1680802056634; Thu, 06 Apr 2023 10:27:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680802056; cv=none; d=google.com; s=arc-20160816; b=AOoLPvRzu3rOIfJ0vDnH/MjBB8mz2NmQoEPhvoamZ9nMO/gZYgxqIjFTC3sDl62n5B jFbnyDSNWU6uSX6oHJJ/W6x0Hwmq8fyeN2SgHzTywotU4fakK89/1yCs1JrNLEMdkCSp +NuokL1ycaQr9rzTAr4V2GvmGOSqjM85KWkexYHsmXuLFaotyy79JRh7ihR74PYxVaXX gQorzeg35RQBW0k64uEBRshyllEsKzxNNytIm6XpCJhbNgF1EIxjRA+4u2BSg4GD+R1B uyNWa+Q1EmCFV53AanwxPe12x1r2wdtar7UbMmCCDa6cQE2iK6TuJBlFqfwj8Ivg/q7L KmBw== 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; bh=YZWm8VVPjeFnm2JphubEFlx8VRO3aDXS4Y0MKirBKZc=; b=BV5pXbbiVnC3hQPlXbbgq4FYAYxa0d37DiLLIgM3OcIyj4godrgpPTwuKmDCOScZmw lRxZob9Gw6SuU6Q0RqhjLHa4i/z4ApRm2nnxAYb7r6hW18DXi070T3GcLRlU98VcfWFo 9hjKLj0De2NBzijuxlhGqRupCr8DPizhjDAc61/JbfazNPb4mna0Ejmn7vSRKW7GXSdS fMhhzvHsK4KZvsKKkoqZUyH6vOKWqD6IPZxqNLe3/Kw6IfXca+Q37mUwW7fNr3da28yn o3sUNa2OVQKj6ZWZi7jI9TtE5UQ73LVFz0fd4oe2vnQW+OuLbxonzzzm+7Vhtvu97wT+ m0NA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KaQblYxl; 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 m15-20020a170902db0f00b001a508a60117si927633plx.170.2023.04.06.10.27.20; Thu, 06 Apr 2023 10:27:36 -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=KaQblYxl; 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 S239917AbjDFR0y (ORCPT + 99 others); Thu, 6 Apr 2023 13:26:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240116AbjDFRY6 (ORCPT ); Thu, 6 Apr 2023 13:24:58 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E985AD0F for ; Thu, 6 Apr 2023 10:24:30 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-93071f06aa7so150710566b.3 for ; Thu, 06 Apr 2023 10:24:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680801822; 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=YZWm8VVPjeFnm2JphubEFlx8VRO3aDXS4Y0MKirBKZc=; b=KaQblYxlv8Wg8dwXdhzP4qzFeNMXk41ba0tlgNgrCN9LirZed/7BpMBMqMCiPA/MKH lZTS2GazYf5qg5bYzuIG7uVN20BmC1nvSPU1RX8yN5XqxbHSBPcOyzH+CCIzAI+zVw7a qXFW8+AqSJPtIr4fcarlM76G9TR2EzHzPqD00UnHxwo64ctd4WP3bXE9euQyMSCMKMcy jI+TIgx/R91BOfaYL9fD2OBpxvGzIcjIePtS27tQtCAAqj3jVcdmaAcKeteQFCJIjzYH 3p1lYq9OLxx8r4N1OFwfYXcFf8M/kbEY7QMWP792bqMq6GyUEk5cgNcskuKZHPKDEP+5 ZZOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680801822; 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=YZWm8VVPjeFnm2JphubEFlx8VRO3aDXS4Y0MKirBKZc=; b=CKxN0cDXgseeNxnC2Igv65X1GF9V+aZwdpoaC/CJP8dlj8gMNcINikQ9oVKfkdJHNQ MNSSRJhDqO3sZ6O6xYzDt+9ZtqS7qRLYJFiyqt83pKjLZ74len0ZoLA6EuMSr/R9kBVP Z7H6VTUqOxVUT4mvnQvwVaO9AfEcjDhx53VcaAl739/DAHOMVi4y310G912nqZS6x6Xt pDbGLTNg+Vpi+908MmeCqi4C9KaoLo22u1TQjpg3sqkY+5Ax0hPJetKPXizr67PHqZyZ dAsigxEteZlKOLyW9UGJ0+wcSTCVbXlZYtEl+nuqGm3iOGDTC0nlfJEMsgBEmxPSU6Bf vsvA== X-Gm-Message-State: AAQBX9dlFTq4eZmPDfP7BF2waAr5p25KG9ldC6AKh7vURyvo0hjolPDd bHvRC/vQJ0IGX2iIQ2c3oO4DuA== X-Received: by 2002:aa7:c0c7:0:b0:4fa:d83b:f5da with SMTP id j7-20020aa7c0c7000000b004fad83bf5damr239948edp.30.1680801822458; Thu, 06 Apr 2023 10:23:42 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:49e6:bb8c:a05b:c4ed? ([2a02:810d:15c0:828:49e6:bb8c:a05b:c4ed]) by smtp.gmail.com with ESMTPSA id b16-20020a50b410000000b004c5d1a15bd5sm967580edh.69.2023.04.06.10.23.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 06 Apr 2023 10:23:42 -0700 (PDT) Message-ID: <4af1ebd0-243f-39e4-c290-1eb627bd7b71@linaro.org> Date: Thu, 6 Apr 2023 19:23:40 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH 3/5] dt-bindings: reset: Add binding constants for BLZP1600 Content-Language: en-US To: Niko Pasaloukos , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Cc: "soc@kernel.org" , "linux-clk@vger.kernel.org" , "devicetree@vger.kernel.org" , "olof@lixom.net" , "catalin.marinas@arm.com" , "robh+dt@kernel.org" , "krzysztof.kozlowski+dt@linaro.org" , "p.zabel@pengutronix.de" , "sboyd@kernel.org" , James Cowgill , Matt Redfearn , Neil Jones References: <20230406102149.729726-1-nikolaos.pasaloukos@blaize.com> <20230406102149.729726-4-nikolaos.pasaloukos@blaize.com> From: Krzysztof Kozlowski In-Reply-To: <20230406102149.729726-4-nikolaos.pasaloukos@blaize.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/04/2023 12:22, Niko Pasaloukos wrote: > Add SCMI reset IDs which are used on Blaize BLZP1600 SoC. > > Co-developed-by: James Cowgill > Signed-off-by: James Cowgill > Co-developed-by: Matt Redfearn > Signed-off-by: Matt Redfearn > Co-developed-by: Neil Jones > Signed-off-by: Neil Jones > Signed-off-by: Nikolaos Pasaloukos > --- > .../dt-bindings/reset/blaize,blzp1600-reset.h | 76 +++++++++++++++++++ > 1 file changed, 76 insertions(+) > create mode 100644 include/dt-bindings/reset/blaize,blzp1600-reset.h > > diff --git a/include/dt-bindings/reset/blaize,blzp1600-reset.h b/include/dt-bindings/reset/blaize,blzp1600-reset.h > new file mode 100644 > index 000000000000..ff1de6b1bd5c > --- /dev/null > +++ b/include/dt-bindings/reset/blaize,blzp1600-reset.h > @@ -0,0 +1,76 @@ > +/* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */ Why 2.0+? Unusual choice. Do you really need it? > +/* > + * Copyright (C) 2022, Blaize, Inc. > + */ > + > +#ifndef DT_BINDING_RESET_BLZP1600_H > +#define DT_BINDING_RESET_BLZP1600_H > + > +#define BLZP1600_A53_C0_HARD_RST 0 > +#define BLZP1600_A53_C0_SOFT_RST 1 > +#define BLZP1600_A53_C1_HARD_RST 2 > +#define BLZP1600_A53_C1_SOFT_RST 3 > +#define BLZP1600_A53_L2_CACHE_RST 4 > +#define BLZP1600_A53_DBG_RST 5 > +#define BLZP1600_GIC_RST 6 > +#define BLZP1600_CRYPTO_RST 7 > +#define BLZP1600_GSP_RST 9 > +#define BLZP1600_DRAM_A_SYS_RST 10 > +#define BLZP1600_DRAM_A_DDRC_RST 11 > +#define BLZP1600_DRAM_A_PRST 12 > +#define BLZP1600_DRAM_A_ARST 13 > +#define BLZP1600_DRAM_A_PHY_RST 14 > +#define BLZP1600_DRAM_A_PWRON_RST 15 > +#define BLZP1600_DRAM_A_PHY_PRST 16 > +#define BLZP1600_DRAM_B_SYS_RST 17 > +#define BLZP1600_DRAM_B_DDRC_RST 18 > +#define BLZP1600_DRAM_B_PRST 19 > +#define BLZP1600_DRAM_B_ARST 20 > +#define BLZP1600_DRAM_B_PHY_RST 21 > +#define BLZP1600_DRAM_B_PWRON_RST 22 > +#define BLZP1600_DRAM_B_PHY_PRST 23 > +#define BLZP1600_USB_RST 24 > +#define BLZP1600_USB_PHY_RST 25 > +#define BLZP1600_CAN0_RST 26 > +#define BLZP1600_CAN1_RST 27 > +#define BLZP1600_CAN2_RST 28 > +#define BLZP1600_ETH_MAC_RST 29 > +#define BLZP1600_SDIO0_RST 30 > +#define BLZP1600_SDIO1_RST 31 > +#define BLZP1600_SDIO2_RST 32 > +#define BLZP1600_SD_CARD_RST 34 > +#define BLZP1600_CSI0_CTRL_RST 35 > +#define BLZP1600_CSI0_VDMA_RST 36 > +#define BLZP1600_CSI1_CTRL_RST 37 > +#define BLZP1600_CSI1_VDMA_RST 38 > +#define BLZP1600_CSI2_CTRL_RST 39 > +#define BLZP1600_CSI2_VDMA_RST 40 > +#define BLZP1600_CSI3_CTRL_RST 41 > +#define BLZP1600_CSI3_VDMA_RST 42 > +#define BLZP1600_CSID_CTRL_RST 43 > +#define BLZP1600_CSID_VDMA_RST 44 > +#define BLZP1600_DSI_CTRL_RST 45 > +#define BLZP1600_DSI_VDMA_RST 46 > +#define BLZP1600_DMA_RST 49 You have some gaps here. These are IDs, so they do not have gaps. Best regards, Krzysztof