From patchwork Mon Jun 17 19:29:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Loys Ollivier X-Patchwork-Id: 167097 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3274161ilk; Mon, 17 Jun 2019 12:30:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqwGAJ25LmTETRCtD3YDOmvuHCOLP44YfUe3qActSapDikHfR0eZxQZn8T8amCqIZ3UajuGh X-Received: by 2002:a62:764d:: with SMTP id r74mr94418593pfc.110.1560799799759; Mon, 17 Jun 2019 12:29:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560799799; cv=none; d=google.com; s=arc-20160816; b=WMGC+RCd701PSe85niiJmegxEDYn0HeDlifq5ykqYAfM5D0CERJVcpd8G+3QcH0znB /YH2VZHaxkyqWF+1bfiJGJ43UQGaQmpbg5/ftd3eoaSS4rsUXkL6ktTCDPcd4UHR6txC uEnyOzvB0N61WmoRyASAWTpT6uk9Ke2L3a1g7AI5S8EkS1szcp6Dx0uxmYr/BRUVvJdV G81pfXpCAJx3m8/0VnZ/5LD6Z3wmaC0LmKMZ4Jfi6OWt6sKH3XUEmDxjq3eTnD2qqBOF alH/uikMhSEUO9F/VVEduvw2ntHJWTDXMMwXCcuMnqgAS+on8jKqBqyQ5WOg3N00MFWw onOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=pLDKBn/rLn9JtAy1R8FKXFV1pHYiHH80xHdW2AHq76o=; b=fyvGE+E0gMHfSTEV667TOejF6HcdqS/iofhKAaxw5SUiSnrwqTHkoxLwIxnkn+mcrd TvNlsJ5/tMGcB8i1TRCVIRzvhHbL3gfe5GdhN45ewNTty2zUWF6QC3Pv2J90l54HHThk Cs/ybh7Zs1DkZjSklSbKFJ7U/KRbwJk41YUlvESnxhUYfmL4dafDlpRRVZb13oKK+ggD BQwLPbjZPbZS5DA/mgsrcXyTkNtRY2Q/oeGMNusFdblNETZl7dSxVH3Xl75zz6s7qY1D CWgL48X1JvY4upKmIKQgH5nyt8roP7CWgxHmzLrzQRhg4ZMBYV1nEFjv2YvKmMO5tG6M jyvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=DnkiSLYs; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 b26si11401292pgm.318.2019.06.17.12.29.59; Mon, 17 Jun 2019 12:29:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=DnkiSLYs; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729029AbfFQT37 (ORCPT + 8 others); Mon, 17 Jun 2019 15:29:59 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:34830 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726928AbfFQT36 (ORCPT ); Mon, 17 Jun 2019 15:29:58 -0400 Received: by mail-wm1-f68.google.com with SMTP id c6so622561wml.0 for ; Mon, 17 Jun 2019 12:29:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=pLDKBn/rLn9JtAy1R8FKXFV1pHYiHH80xHdW2AHq76o=; b=DnkiSLYsEq+K6UwHvuKcniGNMtC1VAAJVH4kaIlIK99n01SJqwxnXECrKm5rOyiBk9 bkZUXZ8Mg+JGribMc6w1tilz4fe/n/lgi+P11r6Mprc0IQJDyhK0oTNjShwkIcCBxwM7 TNVYXcWi50BYWcMPwXChvRnGZlOqi8pJvR5uk8WE3p8vRL1JXzk0BLKWQ9zLQohZDb2t ZAkRlxwj+prGx5/jOC0nOe8cxiiK5Bbl/LWGa4X9pw9JSWMdSveYfzJqI0zm64winfbc NqlGBlsdKQv/ABACo38l3rvGDQxtX+6X2ETn+94nbPJx7xxASEAGzZSKgoVofjMFOlfU yg6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=pLDKBn/rLn9JtAy1R8FKXFV1pHYiHH80xHdW2AHq76o=; b=fimEye9RjJt6XQgtr6mUqgZs0kTBzsJ4Xs7I9NGuCFqAP7Bksm7xYn5ul5XKK/TDMZ S6eiJNGeO6uJNgGernCa8WlL91ErHOo7jm1VYFRWAm5ORKCkhOE2L3rdplVgexyKxy9+ x5RrIG6Qh/zRtpr8KsnJ1y/qv8DkpzOZaaSCzUWEZzZAqIZF8qYYSkx9Bsmz3fnEzWWv yz9azC0MV5bXB6f0jlm7qYsQHs+J3IOvNyIAJaQYe+lZ0eDD+EaByHM0sHTM8zGyKM9t p81iM8Om2yrnc7ZuKIO+w3olVP6a2Wyzfazp5LOcy/BNilAdWuRDA8MJnxe4wNw94iqF CT9g== X-Gm-Message-State: APjAAAXOohjnU52+NlKRDSgnitAAxr+P8lkYDCDyTpqFMZiYw7ACnDZB DzmEt/cW0hrr1v77UdndoDYrig== X-Received: by 2002:a7b:ca43:: with SMTP id m3mr158418wml.45.1560799796773; Mon, 17 Jun 2019 12:29:56 -0700 (PDT) Received: from loys-ubuntu-BY1835A49200471.thefacebook.com (cust-west-pareq2-46-193-13-130.wb.wifirst.net. [46.193.13.130]) by smtp.googlemail.com with ESMTPSA id u18sm9412034wrr.11.2019.06.17.12.29.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 17 Jun 2019 12:29:56 -0700 (PDT) From: Loys Ollivier To: Palmer Dabbelt , Paul Walmsley Cc: Loys Ollivier , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Kevin Hilman Subject: [PATCH 2/3] riscv: select SiFive platform drivers with SOC_SIFIVE Date: Mon, 17 Jun 2019 21:29:49 +0200 Message-Id: <1560799790-20287-3-git-send-email-lollivier@baylibre.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1560799790-20287-1-git-send-email-lollivier@baylibre.com> References: <1560799790-20287-1-git-send-email-lollivier@baylibre.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On selection of SOC_SIFIVE select the corresponding platform drivers. Signed-off-by: Loys Ollivier --- arch/riscv/Kconfig.socs | 5 +++++ 1 file changed, 5 insertions(+) -- 2.7.4 diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs index 60dae1b5f276..536c0ef4aee8 100644 --- a/arch/riscv/Kconfig.socs +++ b/arch/riscv/Kconfig.socs @@ -2,6 +2,11 @@ menu "SoC selection" config SOC_SIFIVE bool "SiFive SoCs" + select SERIAL_SIFIVE + select SERIAL_SIFIVE_CONSOLE + select CLK_SIFIVE + select CLK_SIFIVE_FU540_PRCI + select SIFIVE_PLIC help This enables support for SiFive SoC platform hardware.