Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2327926ybi; Mon, 17 Jun 2019 02:58:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqwOYKjsiVE/KwSrgVLNMyQMk/b06JUHZG7TybGcogpRqFO+uyeYvHQJZG+F8RqtIkvrKDu4 X-Received: by 2002:a63:4c44:: with SMTP id m4mr1193840pgl.113.1560765528062; Mon, 17 Jun 2019 02:58:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560765528; cv=none; d=google.com; s=arc-20160816; b=HoXcWONZVsCjPkzCfJyikpHxk/kAga3VAbN4d+x2h3xy3RVN1UnufPNOWVtoZlBPzE YOVidMZDstXfc4aLoHhw29meDzPQWSKuR/qIt8Q9hXbO8FZ1Z5c/VZEYv1aKZa+CEWyE V++kpqpQ/KhxEN2CZ+EHvWGTjFG20mBS3iYBZcTkuZwtposBqio74nKNt8wQagaHIHA4 ueQB2gbv3xeyPioSaODRPBD5FXvq40HeZqrHjhXsS5BQDrOlBYsPWcr1AabKEG2EiCix NTLiFdhD+P7OY5nON9bBC4IfcFcjTa4OHTz5GdHeLf680Hvq5cOOJBMYm7K7kqo1zxCO Bz8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=k/FkMrNeRTkozEqierq2rmbV5zRaMHg6J2eVIWl4duU=; b=iZiCk8QE/13fu7wjxT4TLoYh1k3BNucVn8/G4lw05jo06zSEzLu5VULyqzc6FtQIPo nqBYKNL9cW6jcSb/AXXFQrwqqSYQ/LGS64pAfA+D1eNo6noKlPqD68JtZCaiedrnDO7f RF2/0buXNqqpjd5q/ewEokBlWCQlfeZT+CCcbToYzPKBZIkztC4seSB60PbOFSnqeL9d WZUgp/ibz8hdYqNiWTBVgwBbnjYdXeQfvlBkVlJ07xMuDsC4Au3NGpC8+HIK94we2Poz +eYSNng/46YCfYsxrF6Haj8c2aJKu7m9PUn3tyExc3aQbqayY8iwUrWx+4ac/5wHjJaN APRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=GztjFeCg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y15si10467447pgj.136.2019.06.17.02.58.32; Mon, 17 Jun 2019 02:58:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=GztjFeCg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727887AbfFQJ6Y (ORCPT + 99 others); Mon, 17 Jun 2019 05:58:24 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:35852 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727518AbfFQJ6X (ORCPT ); Mon, 17 Jun 2019 05:58:23 -0400 Received: by mail-ed1-f66.google.com with SMTP id k21so15312856edq.3 for ; Mon, 17 Jun 2019 02:58:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=k/FkMrNeRTkozEqierq2rmbV5zRaMHg6J2eVIWl4duU=; b=GztjFeCgsx2WVQQlaCXYbhcPsiu/7YqqR997H6U3zan9rYs0xa6xFeiRivc/RtwM4x b/Q9XQ210Gv+8E+J7NDLQUrKd2naU4exI1G+xlsKnjxh/RGc/6gcZqi2NpV2DfMZRC5K uidbnB9l/Kn69qIo4+cWA4rb4+B2Fbf4QJ/WAvydPHIP2SHKcIj6K6yDJx+lbjldoNwQ UP6mmVLBfZ9zo0ukP6Krhe016u7ATMe7UCtiXsIHvD6jCTsMINZu9tNSxpgXv2A5W3EG yp6OIeyJeWq7Gzf4F/jGva/OHSnuOxtAeQ0eLKUmMQ9+PLwB9QJyd3EX1UeD+D7wl7ni xSCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=k/FkMrNeRTkozEqierq2rmbV5zRaMHg6J2eVIWl4duU=; b=FcX5kXN/D4qeLtUUCLzS83YozhpwEUyOrLuJeJbcssMlBhTagitAwCngCMEA/uI44/ c98Hh3SVpUHG/CXih+PFJ7K59BZv1rOBFH378QE1UKnavdqWG+Q7m1oCpQRMIbZ1XCSb kZY1mryu1OYr75LIoBebU6J+h33icLWJ2Jjgyo57OiHYANG4FUfeaoc4OGkuTUORGbNu SnRQPWmjmPEuJsf5fK2M1sbdMktkiUP9X7Rk/+wOMaBWVwcP9IZpfAO7qd5XNmBKD4NN ObsaRaMAOCDIwMnHy13Wlx9C2gu/WRdwYGn1R8bdxe0Jqxd4KU9XBaIphKY1cnCx90Eu s0SQ== X-Gm-Message-State: APjAAAW/5XsWQrv+Ou+ccd4Rl/4g+PKp2xUwcCiSh+b+OBC3MIomUlTW JRHLYF318gMH06ST9+tzrnRP1g== X-Received: by 2002:a50:ad45:: with SMTP id z5mr95083437edc.21.1560765501430; Mon, 17 Jun 2019 02:58:21 -0700 (PDT) Received: from localhost ([81.92.102.43]) by smtp.gmail.com with ESMTPSA id d5sm2095575ejk.71.2019.06.17.02.58.20 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 17 Jun 2019 02:58:20 -0700 (PDT) Date: Mon, 17 Jun 2019 02:58:20 -0700 (PDT) From: Paul Walmsley X-X-Sender: paulw@viisi.sifive.com To: Yash Shah cc: Andreas Schwab , davem@davemloft.net, devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, robh+dt@kernel.org, mark.rutland@arm.com, nicolas.ferre@microchip.com, palmer@sifive.com, aou@eecs.berkeley.edu, ynezz@true.cz, sachin.ghadi@sifive.com Subject: Re: [PATCH v2 0/2] Add macb support for SiFive FU540-C000 In-Reply-To: Message-ID: References: <1560745167-9866-1-git-send-email-yash.shah@sifive.com> User-Agent: Alpine 2.21.9999 (DEB 301 2018-08-15) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Yash, On Mon, 17 Jun 2019, Andreas Schwab wrote: > On Jun 17 2019, Yash Shah wrote: > > > - Add "MACB_SIFIVE_FU540" in Kconfig to support SiFive FU540 in macb > > driver. This is needed because on FU540, the macb driver depends on > > SiFive GPIO driver. > > This of course requires that the GPIO driver is upstreamed first. What's the impact of enabling CONFIG_MACB_SIFIVE_FU540 when the GPIO driver isn't present? (After modifying the Kconfig "depends" line appropriately.) Looks to me that it shouldn't have an impact unless the DT string is present, and even then, the impact might simply be that the MACB driver may not work? - Paul