Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp829173imn; Tue, 26 Jul 2022 10:22:09 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vln2FK08IjPPQpa0HcQ1T1n3ZgZ8i85BL3jqETuGGRJHIiZR699Ui9hBUPp7jyFWtIJpJM X-Received: by 2002:a17:907:86a5:b0:72e:fd2e:beb7 with SMTP id qa37-20020a17090786a500b0072efd2ebeb7mr14728383ejc.2.1658856129643; Tue, 26 Jul 2022 10:22:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658856129; cv=none; d=google.com; s=arc-20160816; b=LN22dL23B4Wtv4ZeX6pDK82LcYeihPLQiZ5gICaokBjNspJwBgq4twcuvnmz2yBqbv Mpubtd3M6Vcr11hfiqwKzSFe/fYGVaezshh/TeJWk6RuLZ2T6okGSQGvgryu49Bh+GEj RFcNtnI4UoEDLXompDgQo+rn0bLqK14Zhv5JdmoLrnLKzPt1lRE/dAEZV8xkzS0tA9f9 cPYeLoOhe5pLNpQlGIwCoixQ5uP54AoBIc5Q+6Pg9I9p5uyyITohi7gbwORinE8EbCoW dpdrzo/VGZfaeEtbKLpWv4EFZ5krXlSyX7ofJAY56PRHL+Lj3HgQXb6HVdblIYQurGkx yclQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=DqEbmzhKx0NMjg0VvinCoPEfypWpQp7BkQaC0Xs8ciA=; b=wOWWzvQAftTRbAJllATXjMLnerVTSDMTDAvVPyucmH2GCkVEWnnhJ6lmn9/ed1m1Xx xusr0WdNkvq1db7ofksX4VrFTTvlm0LOwwjZRak52vwb+dauCX12IzZwaKsZaXWbxKW4 HtBLEheWywFQeB40tmf7YJeZJ6XyHXmKZIPTdQhDp+IUzrufqwWbFLZcSoXxwKyLosnR 7JnuhUz7udgcJlfIy9nEqAuMyZjp8SHVNSIvMoh8Zau6oLA9vos4lZOhE0kuP6llIq7+ SvRMhWIGHmUub+hfsMLvSn2DhEqLiX5eNaZpQ15lHL6FbuhvndF2zMmw00d97k5lcEjN uXwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@conchuod.ie header.s=google header.b=NhvjhaDn; 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=conchuod.ie Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u24-20020a509518000000b0043b93458a7esi14831405eda.203.2022.07.26.10.21.44; Tue, 26 Jul 2022 10:22:09 -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=@conchuod.ie header.s=google header.b=NhvjhaDn; 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=conchuod.ie Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233972AbiGZRID (ORCPT + 99 others); Tue, 26 Jul 2022 13:08:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229815AbiGZRIB (ORCPT ); Tue, 26 Jul 2022 13:08:01 -0400 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5198A14D02 for ; Tue, 26 Jul 2022 10:07:58 -0700 (PDT) Received: by mail-wr1-x434.google.com with SMTP id h9so21076786wrm.0 for ; Tue, 26 Jul 2022 10:07:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=conchuod.ie; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=DqEbmzhKx0NMjg0VvinCoPEfypWpQp7BkQaC0Xs8ciA=; b=NhvjhaDnJnixTK5JKS13CF/cGWT95PlYz5ESq87WVqMG6WDROqjbUK6xqAdGJULCpz mZAEIbbjJbwrPzrktT3T+hs2SojuMjASB5/5RaZoK38FRiqIXI9nm4IqEXTYfpBUQxtF OPtgT59X4RnD04NW5HDTK6tYnDxxB2LsL5xk2MnnjXPyXCal1tupwafaj+/mzZ6Fj9W/ JfPOIe+myCgsz1tzJGLmJmP3pdNNjuat7gTHpEFrvR0In+IQ2op4pUbfhe/IF2sD+2gR IfxFyDXvhZ3ePvPndTkPjf9k+OU+nebEjUnlZWBsRDd2q5POSB7gmnFOjIdy0UhQpO3n T4Lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=DqEbmzhKx0NMjg0VvinCoPEfypWpQp7BkQaC0Xs8ciA=; b=TdS/EfqFoRFpXcQJahPE6F1QOwJ7RVfyE84e5Jl0O07AL5Hzgux+tJ+gV+iySJQZeX ii1AkTQvX7NdBb6//Oi2rrSNbiJte/vcVkRj/JTbIayBEuDJLjaD+U7hUZah9pwkSTo/ D6vf6Tcm+siBapKuO9F0Dly+eriQ+5EHufJU7guR54AsE1otLKnW8+vILK9NkPmWmKsh DedQRcUFOc+EiLXR2Cv0zSDxpNuFx9pyZLza0Te1wCiiBLAFInnSAJbQJbR7b3KDoBuI /ubG+rzxZhQN6bEvzvp3Xr3GOcqu4rcHfYQbri8nj1oBif8TMaMHAbsYZ42lBoTIMzNb vukQ== X-Gm-Message-State: AJIora+guLYx+ID1qeB4ARBpno2hqkiI2v9OwsLRGqsdgUEH8vs2/Hm4 4Gmlh5MnHffUZlh8L7AG09hxHA== X-Received: by 2002:adf:e193:0:b0:21e:626c:d082 with SMTP id az19-20020adfe193000000b0021e626cd082mr11227518wrb.159.1658855276724; Tue, 26 Jul 2022 10:07:56 -0700 (PDT) Received: from henark71.. ([109.76.124.168]) by smtp.gmail.com with ESMTPSA id r17-20020a5d52d1000000b0021d68a504cbsm14859618wrv.94.2022.07.26.10.07.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jul 2022 10:07:55 -0700 (PDT) From: Conor Dooley To: Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Palmer Dabbelt , Paul Walmsley , Albert Ou , Conor Dooley , Atul Khare , Sagar Kadam Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 0/2] Fix SiFive dt-schema errors Date: Tue, 26 Jul 2022 18:07:24 +0100 Message-Id: <20220726170725.3245278-1-mail@conchuod.ie> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 From: Conor Dooley Hi all, As these are the last remaining dtbs_check warnings for the default riscv defconfig I am reviving the series. Atul has been hit by some hardware issues so has not had a chance to send an applicable version of these patches. All I have done here is rebase on linux-next, so by the time the merge window reopens it will hopefully apply.. On Atul's V2, Rob had a comment about changing the cache-sets in the patch 1/2: There is not any way to express power of 2, so you have to list values. Rather than just adding 1 more value, I would add at least a few more so we're not adding these one by one. This is for a specific cache implementation, so it can't really be *any* power of 2. Designs have some limits or physics does. /endquote I don't think that there's value in speculatively adding values to this enum especially as (I think at least) the scala for this cache IP has been released publicly: https://github.com/sifive/block-inclusivecache-sifive/blob/master/design/craft/inclusivecache/src/Parameters.scala#L32 The two compatibles in the file match only against two specific cache implemenations: the fu540's & the fu740's. I would seem to me that, it would be better to lock this to a single value per compatible since the 1024 applies to the fu540 & the new value of 2048 applies only to the fu740. I have not made that change, I simply wanted to repackage this series in a way that could be more easily applied & restart the discussion. Thanks, Conor. Atul Khare (2): dt-bindings: sifive: add cache-set value of 2048 dt-bindings: sifive: add gpio-line-names Documentation/devicetree/bindings/gpio/sifive,gpio.yaml | 4 ++++ Documentation/devicetree/bindings/riscv/sifive-l2-cache.yaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) base-commit: 058affafc65a74cf54499fb578b66ad0b18f939b -- 2.37.1