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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BFC1EC433EF for ; Fri, 29 Oct 2021 19:57:54 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 84406600CC for ; Fri, 29 Oct 2021 19:57:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 84406600CC Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=k1CiL6Q4eHM2DqQ+/KwLslygOfl8DxkdavjCXiSZ5jk=; b=Nmdi4pyfG1jFYX UirjosyzOv8HbzjANdU5+J/J2Mr1N6EGIASB0gGb7LKiC3fMMfdc1lJIyOf8gUba7Fu094qBbtM/n KH7f8mBHrpybLwILk/WTkETMPQKFMpAMNoseHSnMPZlNhBTVdLG68TnJKzcasbiwISbxVgNRqaus9 M3Ip/7817ib3b98E00yw2SemKCuti3ERo9Ftg/UN5qdwE72klhsERQlu7OgVnWqKPJTvOvgawcB4o G5UKrOZcF9odZdKlsH4//ku/dYABtgbFI9QD2VleGe5l/AKarQcd/OxJBxYzjDev14cZdCPq83moJ GFcavzEn79yx3USnsd/g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mgXyc-00C6YQ-GU; Fri, 29 Oct 2021 19:55:46 +0000 Received: from mail-oi1-x229.google.com ([2607:f8b0:4864:20::229]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mgWzg-00Bs0z-Cy for linux-arm-kernel@lists.infradead.org; Fri, 29 Oct 2021 18:52:49 +0000 Received: by mail-oi1-x229.google.com with SMTP id w193so14737396oie.1 for ; Fri, 29 Oct 2021 11:52:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=ldSSeVAlvOj4l8QLMah9LAJhWoH7wMHLjFmgtahfoQ0=; b=KoXyKwkCjQp9WMUR5gh503BBhGxyWKs0Gg4Wgi+EkPP3TcpjRH1EAzJ3glxkaOIsp1 ZB2bQii6UKEccvcgY/nFkiu2iHTnzhrrCWbqTNjsWoTjj6y2Vd20ycyuXp80CKWGWgTy DVYNCHEWb2YSZxwvIBW/hTNVHtqVUy7UCbT3/SxPwlHx2cG36TxAZJ7HTWeGGYMx96cM 8KgRjX9fv8oEcPiplRu/SsoQd1dyRkJxwdDDrZRzIGYGxj0nMWTyS41yUG4EDwStF+oS zI7230e0M/lZWyO1n4PsTdtAJAucu63vs7ye3o3RfvbaywofjCN/FLGixQG2sJXYOKO0 HAkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=ldSSeVAlvOj4l8QLMah9LAJhWoH7wMHLjFmgtahfoQ0=; b=p6PE2anSvhhUrnBecFYRxWKFPOD3AP8NhO9km/ambm7PkGdpdA54sQe1O0zgMGMYQ7 ui39pgIYt+E51CZDHRKDRwaugeO4KAmhqbsrIHdxVWgoZoLzgAeeNVeP9nJbSh3nMh/p KxOjvdPl5jDIGc0VdJ+vfaVarAa5SJevy8M91RrXPWOkyjZnif70zbUqQYjNsbgfjAnn Y4+WxGIO1xRqvhRQljzoHT6hnl21ibrijsxc5uk589kHcjkwf8GTCpUX2nJ36U7Gotq5 p4J8NLJ+PUDxBlDIB9/zGvS/XHR8DQH+u2hWXDKUFhJTy5sjSKcmnGERR94GcRRdr3zX MZmg== X-Gm-Message-State: AOAM530Xn5UPkNp6eZ3sgHuqzpOoLU8M2gq9LK3+8BxLogsknBFk/9t2 aurKgASFD6e97aNEQqsC8lw= X-Google-Smtp-Source: ABdhPJyjEjslkxWcZG5a7lHRh11XgnWlPh8v6MplDYzTY9R31CsIogZW4U690v8sDlzB0w21uomSlA== X-Received: by 2002:aca:6703:: with SMTP id z3mr9530433oix.131.1635533566474; Fri, 29 Oct 2021 11:52:46 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id p14sm1890114oov.0.2021.10.29.11.52.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Oct 2021 11:52:45 -0700 (PDT) Date: Fri, 29 Oct 2021 11:52:43 -0700 From: Guenter Roeck To: Florian Fainelli Cc: linux-kernel@vger.kernel.org, rafal@milecki.pl, Wim Van Sebroeck , Rob Herring , Thomas Bogendoerfer , "maintainer:BROADCOM BCM63XX ARM ARCHITECTURE" , Justin Chen , "open list:WATCHDOG DEVICE DRIVERS" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "open list:MIPS" , "moderated list:BROADCOM BCM63XX ARM ARCHITECTURE" Subject: Re: [PATCH v2 6/7] MIPS: BCM63XX: Provide platform data to watchdog device Message-ID: <20211029185243.GA1722149@roeck-us.net> References: <20211029183430.4086765-1-f.fainelli@gmail.com> <20211029183430.4086765-7-f.fainelli@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211029183430.4086765-7-f.fainelli@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211029_115248_489733_88E16FB6 X-CRM114-Status: GOOD ( 20.69 ) 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 Fri, Oct 29, 2021 at 11:34:29AM -0700, Florian Fainelli wrote: > In order to utilize the bcm7038_wdt.c driver which needs to know the > clock name to obtain, pass it via platform data using the > bcm7038_wdt_platform_data structure. > > Signed-off-by: Florian Fainelli Reviewed-by: Guenter Roeck We'll need an Ack from a MIPS maintainer for this patch to be able to apply it through the watchdog tree. Guenter > --- > arch/mips/bcm63xx/dev-wdt.c | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/arch/mips/bcm63xx/dev-wdt.c b/arch/mips/bcm63xx/dev-wdt.c > index 2a2346a99bcb..42130914a3c2 100644 > --- a/arch/mips/bcm63xx/dev-wdt.c > +++ b/arch/mips/bcm63xx/dev-wdt.c > @@ -9,6 +9,7 @@ > #include > #include > #include > +#include > #include > > static struct resource wdt_resources[] = { > @@ -19,11 +20,18 @@ static struct resource wdt_resources[] = { > }, > }; > > +static struct bcm7038_wdt_platform_data bcm63xx_wdt_pdata = { > + .clk_name = "periph", > +}; > + > static struct platform_device bcm63xx_wdt_device = { > .name = "bcm63xx-wdt", > .id = -1, > .num_resources = ARRAY_SIZE(wdt_resources), > .resource = wdt_resources, > + .dev = { > + .platform_data = &bcm63xx_wdt_pdata, > + }, > }; > > int __init bcm63xx_wdt_register(void) > -- > 2.25.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel