Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4605065pxb; Tue, 2 Nov 2021 12:32:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwdkmEK4f1HP9EMCt7HUY2X3HYm/oLE1h6Bo4e2It4uRDkzZPzuqtBnE71ZcKMfNYFgZKah X-Received: by 2002:a05:6e02:1c21:: with SMTP id m1mr21196106ilh.90.1635881570274; Tue, 02 Nov 2021 12:32:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635881570; cv=none; d=google.com; s=arc-20160816; b=YDi9lpc2pfU1r02s4pj2f1xE5UI234nZVItVswruRWgqtbJkvwUsL/jbsVjeEWqPFx rqlfAp41anoXkcjKbykfGj+f0Gm1SnaGQMcSRVtBRpyjUzeMTU5CarxA6Pee6Dj58cq6 xcfOL44lDK007SPuB2zV+FfIOIvxNBlJrnQIeYlYNF8LAjXNi7xwzW51siqxgY4mjGDp 35KnMlrbtMxZJwvD7j9UgY6ZkwiQnTUcj1SL2G3MQUim2LSzopB2Rx2HqoRmOhVRIHFe NpR/scz5RMLHfZlCsEVH6ZfKCB6VcdBkINzgTWR/54teyQGxkjQKViAojL4dcqU2IQLp vy3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=bt940E6AfKeGJyxU5HlKvj0wHTzNhdmnLGDk/z8Wpsw=; b=y76Q9R0rXcLsCEiDaPFsWncVHOE5m9WpTS4SqQHFaShRV3xf5prYaHRBnQ4lvYu1j8 iGeMB1kDj37vsef6ORKmDhTSJPEi+BTn9H/p1OURceFmr2QjJ6ikx4jJiR06AFneq9b+ J5p6vpFnIVYdtGqMOlVQkogU8GLiTX4o22vdw/PbLSFGwkKfXUvlJQFrpmbMnpcdbHR+ Nx9vvfMIFBftBQMHLWyu7BiMfIrY25ik7utKojl+ylcJG1zravZZTLKIidE1zhX1WSge cTAgye6K1NWqvUCQEmEetH/dv+sQOGQJz9myFWa4PBMGoZxa2REgDyjyc5z47uUAvWvA ivsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=gSM99RIB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i3si485952ilv.98.2021.11.02.12.32.37; Tue, 02 Nov 2021 12:32:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=gSM99RIB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230155AbhKBTeL (ORCPT + 99 others); Tue, 2 Nov 2021 15:34:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229616AbhKBTeK (ORCPT ); Tue, 2 Nov 2021 15:34:10 -0400 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E38BC061714; Tue, 2 Nov 2021 12:31:35 -0700 (PDT) Received: by mail-ed1-x533.google.com with SMTP id w1so1206747edd.10; Tue, 02 Nov 2021 12:31:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bt940E6AfKeGJyxU5HlKvj0wHTzNhdmnLGDk/z8Wpsw=; b=gSM99RIB3tfBlxPN8B4IYaJzcoVxPJzLlScvspNdRLnGElKH8BdgO9MWg1xHvumZB4 kzyevjodY9IVvTtgobKQMelJXrztXAA30Od7mymwlyGuKD08aw2SC1hBQ4ystnjw2zGi mMBUTZhQ14RPhwUAMHRVCKPhHFoqxssevoL+jP6GNMS29FKnpPfvl5Q3ZwRst6zUB56O fQfRUG+TVY6COXWJ8Qh+RQ9K/heSU385/i15YRx2H6cpPY6k2rmr2sXynrNGmAP9jlTY dpG1HLr2HFt+0jJVrXb4Iz8oPFRTHfzBfF1BefNDAFgq5eixZ8Iy9qaKmu9Ynpqc7iLi tbhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bt940E6AfKeGJyxU5HlKvj0wHTzNhdmnLGDk/z8Wpsw=; b=50IkM9I+sJe6n93B6xNKcfsDaI62l+jzfAV8o7f+fsNAwwZlZBMXba4CRbaQI0HD2j g+Pz4LdVEmBqD6W8KK1K6vSHhVijqOoTcjf5zD/xMJ6BiHLe7TMVGGUwUEB14HCMzUPq Bo9N6khyO4ly7nd4mQKnQ5GIboW6gZ1zvYgK2LpnGE6GmqcyAR4TfVCQPab2590255fs aKSiqVA0ewOsSwglXs17XIoy/As88rivdSC5kUroI9gxaEad2mE9HObRiGwdxA1iWiNi cS/yoan9aMb+xqtFoIgB1xU8vnN/6eTATdtJQdoNP++lNDX4OZ/gqmQAjgXTSsF59J5M KEBg== X-Gm-Message-State: AOAM533CYjckeyClmeGFoRtDonqRciku2uiFO5AKYAhSDo1lIXBV8ZlV LUcpGbPnaV/wYmzNOLYJJl+erM2Cv1EPN1LWAVM= X-Received: by 2002:a17:906:9f21:: with SMTP id fy33mr47674900ejc.567.1635881494034; Tue, 02 Nov 2021 12:31:34 -0700 (PDT) MIME-Version: 1.0 References: <20211102165657.3428995-1-robert.marko@sartura.hr> <20211102165657.3428995-4-robert.marko@sartura.hr> In-Reply-To: <20211102165657.3428995-4-robert.marko@sartura.hr> From: Andy Shevchenko Date: Tue, 2 Nov 2021 21:30:44 +0200 Message-ID: Subject: Re: [PATCH v7 4/6] reset: Add Delta TN48M CPLD reset controller To: Robert Marko Cc: Linus Walleij , Bartosz Golaszewski , Rob Herring , Lee Jones , Philipp Zabel , "open list:GPIO SUBSYSTEM" , devicetree , Linux Kernel Mailing List , Andrew Lunn Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 2, 2021 at 6:57 PM Robert Marko wrote: > > Delta TN48M CPLD exposes resets for the following: > * 88F7040 SoC > * 88F6820 SoC > * 98DX3265 switch MAC-s > * 88E1680 PHY-s > * 88E1512 PHY > * PoE PSE controller > > Controller supports only self clearing resets. ... > +#include > +#include > +#include > +#include I haven't found any user of this header, but mod_devicetable.h is missing. > +#include > +#include > +#include > +#include Shouldn't this go before linux/* as it provides more generic definitions? ... > +#define TN48M_RESET_TIMEOUT 125000 > +#define TN48M_RESET_SLEEP 10 In which units? (both) -- With Best Regards, Andy Shevchenko