Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp1982533rwa; Sun, 21 Aug 2022 23:03:15 -0700 (PDT) X-Google-Smtp-Source: AA6agR6rV8lSuUXziUJu39+egGlKU8R4H4wIHnePvByHh+CI0xzfiCjdqNHG5lP7gWkJJf/CJ2Z0 X-Received: by 2002:a17:90a:fe1:b0:1fb:28b9:3f13 with SMTP id 88-20020a17090a0fe100b001fb28b93f13mr4561082pjz.88.1661148194971; Sun, 21 Aug 2022 23:03:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661148194; cv=none; d=google.com; s=arc-20160816; b=wcO3+yDrbGZcCTQnPk+95dw+uXcFgi226/r1pXoyoiBEIQuauHv9dwRrZKWNlwn+wl MgivbGjb9IOjZBk09PVRnGShdOGNmxdl6/c2SsOHJp1/gDg/PO7rIhXEvpNzrR/PghZM 3uSVnauGwnqyA9LyeC5/xaEvIJ0rjjouzQLlgdkZY7sjHFKe8MYeocxoOhHu2eswCttN 49QlhUYDaVJUNq4moKqMyQv1nop7qxVoYBxRoUjPgoVHZA7ZbZyAZOn9N/nbc6nln3uH BsRkg//96AiafFjyIqOZAJrbQE5j7Q4RBhNICvB9vSC9PnTAutCw00aTi+1aroRSG0Xl T2DQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=hO1dHEaBw0gVqBC92bs6Xy4dSyjIudaXnr/J4+3bIv8=; b=NAUBMMklnNWcA0sMGghpk+gKv9qHp05BK66EFhIm6cL7ReMvq/N3PPlV09fglBqK+Y QF19CBKEtIOM5LCdQXuQWNybxkduALcqgP6kenwWA3HcySW+6Dzlo7ZQ/xmzflQXA5qx Cuk0QK0JbOqMjjGj0nNydE6F3zH4pDBgRMLUYVBnsD6TXe1VC+zzFOC+/z1QWwx9WmpW w79Cgd5EXP9Kt7NRDQplnWMH/6+GUWwle7ut/FLYk7s1gSsnksAu3AwBiXRI9UbZoey0 Z/JnKbI/2ac7T+vs1mgADcUhpmT/podEbzy6s+fYvUCoKSJkK0Cr/HrUfq+ctqQfbLzF vo+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=VfkQJ4ow; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i6-20020a170902cf0600b0016786f2d1d8si11899678plg.475.2022.08.21.23.03.03; Sun, 21 Aug 2022 23:03:14 -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=@microchip.com header.s=mchp header.b=VfkQJ4ow; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230337AbiHVGBI (ORCPT + 99 others); Mon, 22 Aug 2022 02:01:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229499AbiHVGBF (ORCPT ); Mon, 22 Aug 2022 02:01:05 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 144501F61B; Sun, 21 Aug 2022 23:01:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1661148063; x=1692684063; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=06z1Sp4leSqz/xK8Xz8b0aRfqzDx5qUAH0KwCoR1bYk=; b=VfkQJ4owSztDk8idF3knm4ahXBhMH5W4KaKuNBncFap8GGFqJB1jX45I QkI2hJtUY29pko7zxW3BwxDq1CVg3Jwrr4iAgp8NQLyDGuD7avgJxQ2Mo dQD4MSygS4S2hhQ3WHjHCJNEGDLBJ8Z91xs9h8xSJ7hdtgl4ejN/OlVkq JuZjspwfxV5MNgXdcbSC/6panPncFz1Os7fb3vaxY2zllo1m5R+0CphRK pXhEPzNOw93yFr8d4xqY6OYxYtnZIjwFCXX+UxKW75Qpm9zliPLuISord Xq4KKR+g9eN2Gn4evGeNekyUq7RZNd9ajhrt+eRxUx7xAIsxRhS6xu/lZ A==; X-IronPort-AV: E=Sophos;i="5.93,254,1654585200"; d="scan'208";a="177314448" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 21 Aug 2022 23:01:03 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Sun, 21 Aug 2022 23:00:43 -0700 Received: from localhost (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Sun, 21 Aug 2022 23:00:43 -0700 Date: Mon, 22 Aug 2022 08:04:56 +0200 From: Horatiu Vultur To: Krzysztof Kozlowski CC: , , , , Subject: Re: [PATCH 1/2] dt-bindings: lan966x-otpc: document Lan966X OTPC Message-ID: <20220822060456.sl343a3a3uifini7@soft-dev3-1.localhost> References: <20220818164405.1953698-1-horatiu.vultur@microchip.com> <20220818164405.1953698-2-horatiu.vultur@microchip.com> <550e652e-4541-c1e6-33a7-d5555f0cb266@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline In-Reply-To: <550e652e-4541-c1e6-33a7-d5555f0cb266@linaro.org> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 The 08/19/2022 09:52, Krzysztof Kozlowski wrote: Hi Krzysztof, > > On 18/08/2022 19:44, Horatiu Vultur wrote: > > Document Lan966x OTP controller. > > > > + > > +properties: > > + compatible: > > + items: > > + - const: microchip,lan966x-otpc > > No wildcards in compatible (which will also affect the file name as it > should match the compatible). Ok, I will replace lan966x with lan966 as the SoC is defined (SOC_LAN966) > > > + - const: syscon > > Is OTP controller also system controller register region? This is a bit > odd and looks like hack not to use nvmem subsystem. That was a copy paste mistake. The OTP controller is not a system controller register region. > > > + > > + reg: > > + maxItems: 1 > > + > > +required: > > + - compatible > > + - reg > > + > > +unevaluatedProperties: false > > + > > +examples: > > + - | > > + otpc: otp@e0021000 { > > + compatible = "microchip,lan966x-otpc", "syscon"; > > + reg = <0xe0021000 0x300>; > > + }; > > + > > +... > > > Best regards, > Krzysztof -- /Horatiu